tuweni / org.apache.tuweni.ssz / SSZReader / readAddressList

readAddressList

abstract fun readAddressList(): MutableList<Bytes!>! (source)

Read a list of 20-byte addresses from the SSZ source.

Exceptions

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

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

Return
MutableList<Bytes!>!: A list of 20-byte addresses.