ssz / 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 - 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
the bytes of the Address