Convert a bigint to a Uint8Array.
bigint
Uint8Array
This assumes that the bigint is an unsigned integer. To convert a signed bigint instead, use signedBigIntToBytes.
The bytes as Uint8Array.
The bigint to convert to bytes.
Convert a
bigint
to aUint8Array
.This assumes that the
bigint
is an unsigned integer. To convert a signedbigint
instead, use signedBigIntToBytes.Returns
The bytes as
Uint8Array
.