fun ByteArray.pad(count: Int): ByteArray
(source)
Pads a BigInteger that has been converted to a ByteArray to a specified byte length.
count
- the number of bytes to pad to
Return
the padded byte array, able to be converted back to a BigInteger when needed