tuweni / 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 - Bytes!: The bytes for this address.

Exceptions

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

Return
Address!: An address.