MutableByteArrayCursor

A light-weight mutable cursor for a ByteArray.

Constructors

Link copied to clipboard
constructor(data: ByteArray)

Properties

Link copied to clipboard
var cursor: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun reset()
Link copied to clipboard
fun resize(newSize: Int, ifSmaller: Boolean = false): Boolean
Link copied to clipboard
fun writeByte(b: Byte)
Link copied to clipboard
fun writeByteArray(array: ByteArray, offset: Int = 0, length: Int = array.size)
Link copied to clipboard
Link copied to clipboard
fun writeInt(i: Int)
Link copied to clipboard