fromLEBytes

Construct a value from bytes fed in little-endian order. Helper for EndianSequence.unpack with preset Little Endian byte order (LE).

fromLEBytes
(
T
)
(
ubyte[] bytes...
)

Parameters

bytes ubyte[]

An array of unsigned bytes (little-endian-order).

Return Value

Type: auto

The value retrieved from the array

Typical usage:

// value is 0x00efcdab in hex or 15715755 in dec  
uint tmp = fromLEBytes!uint([0xab, 0xcd, 0xef, 0x00]);

Meta