reversineer.integers

Undocumented in source.

Members

Aliases

BigEndian
alias BigEndian(T) = EndianType!(T, false)

Represents a big endian type. Most significant bits come first, so 0x4000 is, for example, represented as [04, 00].

LittleEndian
alias LittleEndian(T) = EndianType!(T, true)

Represents a little endian type. Most significant bits come last, so 0x4000 is, for example, represented as [00, 04].

Functions

swapEndianness
void swapEndianness(T val)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

VerifyOffsets
mixintemplate VerifyOffsets(T, size_t size)
Undocumented in source.

Structs

PackedBCD
struct PackedBCD(T)

Represents a little endian type in packed binary-coded decimal coding. This coding is common in old processors, but doesn't see much use in the modern era.

Meta