bytes / org.apache.tuweni.bytes / DelegatingBytes32

DelegatingBytes32

open class DelegatingBytes32 : AbstractBytes, Bytes32 (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 32 bytes, but need a different name for business logic.

Constructors

<init>

DelegatingBytes32(delegate: Bytes!)

Functions

copy

open fun copy(): Bytes32!

get

open fun get(i: Int): Byte

mutableCopy

open fun mutableCopy(): MutableBytes32!

size

open fun size(): Int

slice

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