tuweni / org.apache.tuweni.ssz / SSZWriter / writeUBigInteger

writeUBigInteger

open fun writeUBigInteger(value: BigInteger, bitLength: Int): Unit (source)

Write an unsigned big integer to the output.

Parameters

value - the integer to write

bitLength - the bit length of the integer value

Exceptions

IllegalArgumentException - if the value is too large for the specified bit length or the value is negative