bytes / 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!

get

open fun get(i: Int): Byte

mutableCopy

open fun mutableCopy(): MutableBytes!

size

open fun size(): Int

slice

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