Convert a BigInt to a big-endian buffer.
The BigInt to convert.
The number of bytes that the resulting buffer should be.
A big-endian buffer representation of num.
Convert a BigInt to a big-endian buffer.