default: { getImplementation: () => Implementation; initNative: () => Promise<void>; setImplementation: (impl: Implementation) => Promise<void>; toBigIntBE: ( buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>, ) => bigint; toBigIntBESigned: ( buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>, ) => bigint; toBigIntLE: ( buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>, ) => bigint; toBigIntLESigned: ( buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>, ) => bigint; toBufferBE: ( num: bigint, width: number, ) => Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>; toBufferBEInto: ( num: bigint, buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>, ) => void; toBufferLE: ( num: bigint, width: number, ) => Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>; toBufferLEInto: ( num: bigint, buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>, ) => void;} Type declaration
initNative: () => Promise<void>
setImplementation: (impl: Implementation) => Promise<void>
toBigIntBE: (buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>) => bigint
toBigIntBESigned: (buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>) => bigint
toBigIntLE: (buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>) => bigint
toBigIntLESigned: (buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>) => bigint
toBufferBE: (
num: bigint,
width: number,
) => Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>
toBufferBEInto: (
num: bigint,
buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>,
) => void
toBufferLE: (
num: bigint,
width: number,
) => Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>
toBufferLEInto: (
num: bigint,
buffer: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>,
) => void