tuweni / org.apache.tuweni.ssz / SSZ / encodeAddressList

encodeAddressList

static fun encodeAddressList(vararg elements: Bytes!): Bytes! (source)

Encode a list of addresses.

Parameters

elements - Bytes!: the addresses to write

Exceptions

IllegalArgumentException - if any address.size != 20

Return
Bytes!: SSZ encoding in a Bytes value

static fun encodeAddressList(elements: MutableList<out Bytes!>!): Bytes! (source)

Encode a list of addresses.

Parameters

elements - MutableList<out Bytes!>!: the addresses to write

Exceptions

IllegalArgumentException - if any address.size != 20

Return
Bytes!: SSZ encoding in a Bytes value