Module endian

Source
Expand description

Types for compile-time and run-time endianness.

Structs§

BigEndian
Compile-time big endian byte order.
I16Bytes
An unaligned i16 value with an externally specified endianness of type E.
I32Bytes
An unaligned i32 value with an externally specified endianness of type E.
I64Bytes
An unaligned i64 value with an externally specified endianness of type E.
LittleEndian
Compile-time little endian byte order.
U16Bytes
An unaligned u16 value with an externally specified endianness of type E.
U32Bytes
An unaligned u32 value with an externally specified endianness of type E.
U64Bytes
An unaligned u64 value with an externally specified endianness of type E.

Enums§

Endianness
An endianness that is selectable at run-time.

Traits§

Endian
A trait for using an endianness specification.

Type Aliases§

I16
An i16 value with an externally specified endianness of type E.
I32
An i32 value with an externally specified endianness of type E.
I64
An i64 value with an externally specified endianness of type E.
NativeEndian
The native endianness for the target platform.
U16
A u16 value with an externally specified endianness of type E.
U32
A u32 value with an externally specified endianness of type E.
U64
A u64 value with an externally specified endianness of type E.