decodeFloat64Key(
bytes,offset?):number
Defined in: packages/key-encoding/src/scalars.ts:169
Decode the 8-byte encodeFloat64Key encoding at offset.
Parameters
Section titled “Parameters”Uint8Array
offset?
Section titled “offset?”number
Returns
Section titled “Returns”number
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, TRAILING_BYTES as
decodeUint32Key, or NON_CANONICAL_FLOAT64 when the bytes hold a NaN or -0 pattern, which no encoder
writes.