abstract fun set(i: Int, b: Byte): Unit (source)
Set a byte in this value.
i - Int: The index of the byte to set.
b - Byte: The value to set that byte to.
IndexOutOfBoundsException - if i < 0 or {i >= size()}.
open fun set(offset: Int, bytes: Bytes!): Unit (source)
Set a byte in this value.
offset - Int: The offset of the bytes to set.
bytes - Bytes!: The value to set bytes to.