Converts a byte array to a Num (bigint) assuming little-endian order.
The byte array to convert.
A Num (bigint) representing the numeric value.
const num = numLeFromBytes(new Uint8Array([57, 48, 0, 0])); // Outputs 12345n Copy
const num = numLeFromBytes(new Uint8Array([57, 48, 0, 0])); // Outputs 12345n
Converts a byte array to a Num (bigint) assuming little-endian order.