peek

fun peek(): Int

Peek the next code point (look without moving the pointer)

Return

the next code point or 0 if empty


fun peek(index: Int): Int

Peek the next index-th code point

Return

the next index-th code point or 0 if empty

Parameters

index

to peek