The bigint value to convert.
The number of bytes to pad the buffer to. Must be at least the minimum required to represent the value.
If true, the buffer will be in little-endian order; if false, big-endian. Defaults to true.
If true, the value is treated as signed and two's complement is used for negative numbers. Defaults to false.
A Buffer representing the bigint value with the specified options.
Converts a bigint value to a Buffer with specified padding, endianness, and signedness.