Converts a buffer to a bigint using little-endian byte order. It accepts 'Buffer' or 'Uint8Array'.
The buffer to convert.
The bigint representation of the buffer's contents in little-endian.
Converts a buffer to a bigint using little-endian byte order. It accepts 'Buffer' or 'Uint8Array'.