EndianSequence.pack

Deconstructs (saves) a passed value to unsigned byte array.

class EndianSequence(BYTE_ORDER byteOrder)
static
ubyte[]
pack
(
T
)
()

Parameters

value T

Value for deconstructing.

Typical usage:

ubyte[] tmp = EndianSequence!(BYTE_ORDER.LITTLE_ENDIAN).pack!uint(150_000);

Meta