push

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

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

This operation may move the gap.


abstract fun push(    array: Array<T>,     offset: Int = size,     startIndex: Int = 0,     endIndex: Int = array.size)

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

This operation may move the gap.