bytes / net.consensys.cava.bytes

Package net.consensys.cava.bytes

Types

AbstractBytes

abstract class AbstractBytes : Bytes

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

Bytes

interface Bytes

A value made of bytes.

This interface makes no thread-safety guarantee, and a Bytes value is generally not thread safe. However, specific implementations may be thread-safe. For instance, the value returned by #copy is guaranteed to be thread-safe as it is immutable.

Bytes32

interface Bytes32 : Bytes

A Bytes value that is guaranteed to contain exactly 32 bytes.

MutableByteBufferWrappingBytes

open class MutableByteBufferWrappingBytes : ByteBufferWrappingBytes, MutableBytes

MutableBytes

interface MutableBytes : Bytes

A mutable Bytes value.

MutableBytes32

interface MutableBytes32 : MutableBytes, Bytes32

A mutable Bytes32, that is a mutable Bytes value of exactly 32 bytes.