convertLeBytesToBigInt
Umbra SDK reference for Convert Le Bytes To Big Int.
convertLeBytesToBigInt(
bytes,numberOfBytes):bigint
Defined in: src/utils/convertors.ts:85
Converts a little-endian byte array into a bigint.
Parameters
bytes
The little-endian bytes.
numberOfBytes
number
Number of bytes to read from the buffer.
Returns
bigint
The reconstructed bigint value.