Skip to content

encodeInt64Key(value): Uint8Array

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

Encode a signed 64-bit bigint as 8 big-endian bytes with the sign bit flipped.

bigint

Uint8Array

INVALID_KEY_VALUE when value is not a bigint in -(2n ** 63n) .. 2n ** 63n - 1n.