push

abstract fun push(value: Byte, offset: Int = size)

Pushes the given Byte at the provided offset (defaults to the end of the buffer).

This operation may move the gap.


abstract fun push(    array: ByteArray,     offset: Int = size,     startIndex: Int = 0,     endIndex: Int = array.size)

Pushes the given ByteArray at the provided offset (defaults to the end of the buffer).

This operation may move the gap.