Convert a big integer to a byte array
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 byte array