tuweni / org.apache.tuweni.bytes / AbstractBytes

AbstractBytes

abstract class AbstractBytes : Bytes (source)

An abstract Bytes value that provides implementations of #equals(Object), #hashCode() and #toString().

Constructors

<init>

An abstract Bytes value that provides implementations of #equals(Object), #hashCode() and #toString().

AbstractBytes()

Functions

computeHashcode

open fun computeHashcode(): Int

equals

Compare this value and the provided one for equality.

open fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Inheritors

DelegatingBytes

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

open class DelegatingBytes : AbstractBytes, Bytes