copyInto
abstract fun copyInto( array: ByteArray, destinationOffset: Int = 0, startOffset: Int = 0, endOffset: Int = size): ByteArray
Content copied to clipboard
Copies from the gap buffer into the provided ByteArray.
Parameters
array
the ByteArray into which data should be copied.
destinationOffset
the destination index at which the copy starts.
startOffset
the offset at which copy starts, in the gap buffer.
This operation may move the gap.