tuweni / org.apache.tuweni.ssz / SSZReader / readBigInteger

readBigInteger

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

Read a 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.