tuweni / org.apache.tuweni.ssz / SSZReader / readUnsignedBigIntegerList

readUnsignedBigIntegerList

abstract fun readUnsignedBigIntegerList(bitLength: Int): MutableList<BigInteger!>! (source)

Read a list of unsigned big integer values from the SSZ source.

Parameters

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

Exceptions

InvalidSSZTypeException - If the next SSZ value is not a list, or there are insufficient encoded bytes for the desired bit length or any value in the list.

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

Return
MutableList<BigInteger!>!: A list of big integers.