Crate network_endian[−][src]
network-endian
Unsigned integers to make it easier and more efficient to work with network endian data.
Structs
NetworkEndianU16 |
Modelled as a packed 2-byte array rather than an u16 because (a) it is not native endian and (b) its alignment is not necessary 2 bytes (it's actually 1). |
NetworkEndianU32 |
Modelled as a packed 4-byte array rather than an u32 because (a) it is not native endian and (b) its alignment is not necessary 4 bytes (it's actually 1). |
NetworkEndianU128 |
Modelled as a packed 16-byte array rather than u128 because (a) it is not native endian and (b) its alignment is not necessary 16 bytes (it's actually 1). |
Traits
NetworkEndian |
Abstract network endian data. |