getBigUint64Be
getBigUint64Be(
data,offset,byteLength?):bigint
Defined in: packages/core/src/buffer/codec/get-big-uint64-be.ts:16
Reads a big-endian unsigned integer from data at offset.
The caller is responsible for ensuring that byteLength bytes are available
at offset.
Parameters
Section titled “Parameters”Uint8Array
The bytes to read from.
offset
Section titled “offset”number
The index of the first byte to read.
byteLength?
Section titled “byteLength?”number = 8
How many bytes to read, in the 0..8 range. Defaults to 8 (a full word); fewer bytes read a narrower big-endian integer formed from just those leading bytes.
Returns
Section titled “Returns”bigint
The value as an unsigned 64-bit integer.