Module bswap::beu56 [-] [+] [src]

Swap bytes for [u8; 7] objects only on little-endian targets, does nothing on big-endian targets.

Functions

decode

Decodes $E-endian bytes to a native-endian $T object.

decode_slice

Decodes $E-endian bytes to a slice of native-endian $T objects.

encode

Encodes a native-endian $T object to $E-endian bytes.

encode_slice

Encodes a slice of native-endian $T objects to $E-endian bytes.