accumulate

fun accumulate(buffer: CharArray, start: Int, length: Int)

If the text accumulator is active, then append the specified range of the buffer onto the text accumulator; otherwise, do nothing.

Parameters

buffer

A buffer containing character data.

start

The zero-based offset of the first element of the buffer that should be copied to the accumulator.

length

The number of characters that should be copied to the accumulator.