reset

fun reset(buffer: CharSequence, startOffset: Int, bufferEndOffset: Int)

Reset the reader to the specified character sequence.

Parameters

buffer

The character sequence to read from.

startOffset

The offset of the first codepoint in the buffer to read from.

bufferEndOffset

The offset of the last codepoint in the buffer to read up to.


fun reset(buffer: CharSequence, startOffset: Int = 0)

Reset the reader to the specified character sequence.

Parameters

buffer

The character sequence to read from.

startOffset

The offset of the first codepoint in the buffer to read from.