Convert a big integer to a buffer
Value to convert
Length of the resulting buffer (by default it's the minimum required)
Whether to use little-endian encoding
Convert a big integer to a buffer