tuweni / org.apache.tuweni.bytes / DelegatingBytes

DelegatingBytes

open class DelegatingBytes : AbstractBytes, Bytes (source)

A class that holds and delegates all operations to its inner bytes field.

This class may be used to create more types that represent bytes, but need a different name for business logic.

Constructors

<init>

DelegatingBytes(delegate: Bytes!)

Functions

copy

open fun copy(): Bytes!

equals

open fun equals(other: Any?): Boolean

get

open fun get(i: Int): Byte

hashCode

open fun hashCode(): Int

mutableCopy

open fun mutableCopy(): MutableBytes!

size

open fun size(): Int

slice

open fun slice(index: Int, length: Int): Bytes!

Inheritors

Address

An Ethereum account address.

class Address : DelegatingBytes

DelegatingBytes32

A class that holds and delegates all operations to its inner bytes field.

open class DelegatingBytes32 : DelegatingBytes, Bytes32

DelegatingBytes48

A class that holds and delegates all operations to its inner bytes field.

open class DelegatingBytes48 : DelegatingBytes, Bytes48