eth / org.apache.tuweni.eth / Address / fromBytes

fromBytes

static fun fromBytes(bytes: Bytes): Address (source)

Create an address from Bytes.

The address must be exactly 20 bytes.

Parameters

bytes - The bytes for this address.

Exceptions

IllegalArgumentException - If bytes.size() != 20.

Return
An address.