Skip to content

decodeUint64Key(bytes, offset?): bigint

Defined in: packages/key-encoding/src/scalars.ts:107

Decode the 8-byte encodeUint64Key encoding at offset.

Uint8Array

number

bigint

INVALID_KEY_VALUE or INVALID_OFFSET, as decodeUint32Key.

TRUNCATED_KEY when fewer than 8 bytes follow offset, or TRAILING_BYTES as decodeUint32Key.