fromLEBytes

Construct a value from bytes fed in big-endian order. Helper for EndianSequence.unpack with preset Big Endian byte order (BE).

  1. alias fromLEBytes = EndianSequence!(BYTE_ORDER.LITTLE_ENDIAN).unpack
  2. alias fromLEBytes = EndianSequence!(BYTE_ORDER.LITTLE_ENDIAN).unpack
    alias fromLEBytes = EndianSequence!(BYTE_ORDER.LITTLE_ENDIAN).unpack

Return Value

The value retrieved from the array

Typical usage:

// value is 0xabcdef00 in hex or 2882400000 in dec
uint tmp = fromBEBytes!uint([0xab, 0xcd, 0xef, 0x00]);

Meta