getUint32ArrayLe
getUint32ArrayLe(
data,offset,byteLength):Uint32Array
Defined in: packages/core/src/buffer/codec/get-uint32-array-le.ts:18
Reads byteLength little-endian bytes from data at offset into a fresh
Uint32Array.
The inverse of setUint32ArrayLe. byteLength need not be a multiple of
four — a partial final word reads only its leading bytes, which for
little-endian is equivalent to zero-padding the missing high bytes, so a
value narrower than a word never reads past its own span.
Parameters
Section titled “Parameters”Uint8Array
The bytes to read from. The caller is responsible for ensuring
that byteLength bytes are available at offset.
offset
Section titled “offset”number
The index of the first byte to read.
byteLength
Section titled “byteLength”number
How many bytes to read.
Returns
Section titled “Returns”Uint32Array
⌈byteLength / 4⌉ words.