tuweni / org.apache.tuweni.ssz / SSZ / decodeAddressList

decodeAddressList

static fun decodeAddressList(source: Bytes!): MutableList<Bytes!>! (source)

Read a list of 20-byte addresses 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 any address in the list

EndOfSSZException - if there are no more SSZ values to read

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