0.3.0 |
|
---|---|
0.2.0 |
|
0.1.0 |
|
#88 in #endian
31KB
507 lines
Overview
Bytewise is a crate for easily reading and writing integers and floats in an endian aware manner.
Provides traits:
ReadExt
, the generalRead
extension, contains both big and little endian functionality.WriteExt
, the generalWrite
extension, contains both big and little endian functionality.ReadExtBE
, a more specificRead
extension, contains only big endian functionality. Also aliased asReadExtBigEndian
.WriteExtBE
, a more specificWrite
extension, contains only big endian functionality. Also aliased asWriteExtBigEndian
.ReadExtLE
, a more specificRead
extension, contains only little endian functionality. Also aliased asReadExtLittleEndian
.WriteExtLE
, a more specificWrite
extension, contains only little endian functionality. Also aliased asWriteExtLittleEndian
.ReadExtVE
, a more flexibleRead
extension, can change between big and little endian at runtime. Also aliased asReadExtVariableEndian
.WriteExtVE
, a more flexibleWrite
extension, can change between big and little endian at runtime. Also aliased asWriteExtVariableEndian
.
The minimum supported rust version is 1.40