tuweni / org.apache.tuweni.ssz / SSZReader / readInt16List

readInt16List

open fun readInt16List(): MutableList<Int!>! (source)

Read a list of 16-bit two's-compliment int values from the SSZ source.

Exceptions

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

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

Return
MutableList<Int!>!: A list of ints.