decodeUint64Key(
bytes,offset?):bigint
Defined in: packages/key-encoding/src/scalars.ts:107
Decode the 8-byte encodeUint64Key encoding at offset.
Parameters
Section titled “Parameters”Uint8Array
offset?
Section titled “offset?”number
Returns
Section titled “Returns”bigint
Throws
Section titled “Throws”INVALID_KEY_VALUE or INVALID_OFFSET, as decodeUint32Key.
Throws
Section titled “Throws”TRUNCATED_KEY when fewer than 8 bytes follow offset, or TRAILING_BYTES as
decodeUint32Key.