tuweni / org.apache.tuweni.bytes / MutableBytes / set

set

abstract fun set(i: Int, b: Byte): Unit (source)

Set a byte in this value.

Parameters

i - The index of the byte to set.

b - The value to set that byte to.

Exceptions

IndexOutOfBoundsException - if i < 0 or {i >= size()}.