fun BigInteger.toByteArray(padToSize: Int = 0): ByteArray (source)
Converts a BigInteger to a padded ByteArray.
padToSize - the size in bytes to pad to
See Also
Return
the padded byte array, able to be converted back to a BigInteger when needed