open class MutableByteBufferWrappingBytes : ByteBufferWrappingBytes, MutableBytes
(source)
static val EMPTY: MutableBytes
The empty value (with 0 bytes). |
open fun copy(): Bytes |
|
open fun mutableSlice(i: Int, length: Int): MutableBytes |
|
open fun set(i: Int, b: Byte): Unit |
|
open fun setInt(i: Int, value: Int): Unit |
|
open fun setLong(i: Int, value: Long): Unit |
open fun clear(): Unit
Set all bytes in this value to 0. |
|
open fun decrement(): MutableBytes
Decrements the value of the bytes by 1, treating the value as big endian. If decrementing underflows the value then all bits flip, i.e. decrementing 0x0000 will return 0xFFFF. |
|
open fun fill(b: Byte): Unit
Fill all the bytes of this value with the specified byte. |
|
open fun increment(): MutableBytes
Increments the value of the bytes by 1, treating the value as big endian. If incrementing overflows the value then all bits flip, i.e. incrementing 0xFFFF will return 0x0000. |