fromBEBytes

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

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

Parameters

bytes ubyte[]

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

Return Value

Type: auto

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