tuweni / org.apache.tuweni.ssz / SSZReader / readUnsignedBigInteger

readUnsignedBigInteger

abstract fun readUnsignedBigInteger(bitLength: Int): BigInteger! (source)

Read an unsigned big integer value from the SSZ source.

Parameters

bitLength - Int: The bit length of the integer to read (a multiple of 8).

Exceptions

InvalidSSZTypeException - If there are insufficient encoded bytes for the desired bit length.

EndOfSSZException - If there are no more SSZ values to read.

Return
BigInteger!: A big integer.