forward

fun forward(length: Int = 1)

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