Function: intToBigEndian() ​
intToBigEndian(
xInit,length):Uint8Array
Defined in: packages/method/src/core/beacon/aggregation/session/index.ts:24
Convert a bigint to a big-endian Uint8Array of specified length.
Parameters ​
xInit ​
bigint
The bigint to convert.
length ​
number
The desired length of the output array in bytes.
Returns ​
Uint8Array
A Uint8Array representing the bigint in big-endian form.