tuweni / org.apache.tuweni.ssz / SSZ / decodeAddress

decodeAddress

static fun decodeAddress(source: Bytes!): Bytes! (source)

Read a 20-byte address from the SSZ source.

Parameters

source - Bytes!: the SSZ encoded bytes

Exceptions

InvalidSSZTypeException - if there are insufficient encoded bytes for a 20-byte address

EndOfSSZException - if there are no more SSZ values to read

Return
Bytes!: the bytes of the Address