push

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

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

This operation may move the gap.


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

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

This operation may move the gap.