tuweni / org.apache.tuweni.ssz / SSZ / decodeUInt256List

decodeUInt256List

static fun decodeUInt256List(source: Bytes!): MutableList<UInt256!>! (source)

Read a list of 256-bit unsigned int values from the SSZ source.

Parameters

source - Bytes!: the SSZ encoded bytes

Exceptions

InvalidSSZTypeException - if the next SSZ value is not a list, there are insufficient encoded bytes for the desired bit length of any value in the list, or any decoded value was too large to fit into UInt256

EndOfSSZException - if there are no more SSZ values to read

Return
MutableList<UInt256!>!: a list of UInt256