tuweni / org.apache.tuweni.bytes / MutableBytes48

MutableBytes48

interface MutableBytes48 : MutableBytes, Bytes48 (source)

A mutable Bytes48, that is a mutable Bytes value of exactly 48 bytes.

Functions

create

Create a new mutable 48 bytes value.

open static fun create(): MutableBytes48!

wrap

Wrap a 48 bytes array as a mutable 48 bytes value.

open static fun wrap(value: ByteArray!): MutableBytes48!

Wrap a the provided array as a MutableBytes48.

open static fun wrap(value: ByteArray!, offset: Int): MutableBytes48!

Wrap a the provided value, which must be of size 48, as a MutableBytes48.

open static fun wrap(value: MutableBytes!): MutableBytes48!

Wrap a slice/sub-part of the provided value as a MutableBytes48.

open static fun wrap(value: MutableBytes!, offset: Int): MutableBytes48!