Module bswap::leu64 [] [src]

Swap bytes for [u8; 5] objects only on big-endian targets, does nothing on little-endian targets. Swap bytes for [u8; 6] objects only on big-endian targets, does nothing on little-endian targets. Swap bytes for [u8; 7] objects only on big-endian targets, does nothing on little-endian targets. Swap bytes for u64 objects only on big-endian targets, does nothing on little-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.