forward

fun forward(length: Int = 1)(source)

Read the next length characters and move the pointer.

If the last character is high surrogate one more character will be read.

Parameters

length

amount of characters to move forward.