tuweni / org.apache.tuweni.ssz / SSZ / decodeUnsignedBigIntegerList

decodeUnsignedBigIntegerList

static fun decodeUnsignedBigIntegerList(source: Bytes!, bitLength: Int): MutableList<BigInteger!>! (source)

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

Parameters

source - Bytes!: the SSZ encoded bytes

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 of any value in the list

EndOfSSZException - if there are no more SSZ values to read

Return
MutableList<BigInteger!>!: a list of ints