Module bswap::leu32 [] [src]

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