static fun encodeUBigInteger(value: BigInteger!, bitLength: Int): Bytes!
(source)
Encode an unsigned big integer to a Bytes
value.
value
- BigInteger!: the big integer to encode
bitLength
- Int: the bit length of the integer value (must be a multiple of 8)
IllegalArgumentException
- if the value is too large for the specified bitLength