toLEBytes

Parse a value into bytes in little-endian order. Helper for EndianSequence.pack with preset Little Endian byte order (LE).

toLEBytes
(
T
)
()

Parameters

value T

Value for parsing.

Return Value

Type: auto

An array of unsigned bytes representing the value passed as a parameter in little-endian order

Typical usage:

ubyte[] tmp = toLEBytes!uint(150_000);

Meta