push

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

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

This operation may move the gap.


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

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

This operation may move the gap.