tuweni / org.apache.tuweni.ssz / SSZReader / readBigIntegerList

readBigIntegerList

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

Read a list of two's-compliment 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.