Converts a BigNumberish type to a buffer. If the input is already a buffer, the return value will be the buffer itself, otherwise it will be converted to a buffer using big-endian byte order.
The BigNumberish value to convert.
The buffer representation of the BigNumberish value.
Converts a BigNumberish type to a buffer. If the input is already a buffer, the return value will be the buffer itself, otherwise it will be converted to a buffer using big-endian byte order.