bytes / net.consensys.cava.bytes / MutableByteBufferWrappingBytes

MutableByteBufferWrappingBytes

open class MutableByteBufferWrappingBytes : ByteBufferWrappingBytes, MutableBytes (source)

Inherited Properties

EMPTY

static val EMPTY: MutableBytes

The empty value (with 0 bytes).

Functions

copy

open fun copy(): Bytes

mutableSlice

open fun mutableSlice(i: Int, length: Int): MutableBytes

set

open fun set(i: Int, b: Byte): Unit

setInt

open fun setInt(i: Int, value: Int): Unit

setLong

open fun setLong(i: Int, value: Long): Unit

Inherited Functions

clear

open fun clear(): Unit

Set all bytes in this value to 0.

fill

open fun fill(b: Byte): Unit

Fill all the bytes of this value with the specified byte.