The bigint value to serialize into the buffer.
The absolute target size of the output buffer in bytes.
Set to true for little-endian encoding; set to false for big-endian. Defaults to true.
Set to true to allow signed integers and two's complement representation. Defaults to false.
A new Buffer representation of the bigint value.
Converts a JS native
bigintvalue into a Node.jsBufferwith custom byte-padding, endianness, and sign representation.