Converts a Buffer to a BigInt value.
The buffer to convert.
If true, interprets the buffer as little-endian. Defaults to true.
If true, interprets the buffer as a signed integer. Defaults to false.
The BigInt representation of the buffer.
Converts a Buffer to a BigInt value.