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