Skip to content

setBigUint64ArrayLe

setBigUint64ArrayLe(target, offset, words, byteLength?): void

Defined in: packages/core/src/buffer/codec/set-big-uint64-array-le.ts:14

Writes words into target at offset as little-endian bytes, in place.

Uint8Array

The bytes to write into. The caller is responsible for ensuring that byteLength bytes are available at offset.

number

The index of the first byte to write.

BigUint64Array

The words to serialize.

number = ...

How many leading bytes to write. Defaults to all of words. Truncation is byte-granular, not word-granular — e.g. BLAKE2b accepts any output length from 1 to 64 bytes, not just multiples of 8.

void