get

open operator override fun get(index: Int): Char(source)

Reads a UTF-16 code unit at index.

Return

the code unit at index, which may be one half of a surrogate pair.

Parameters

index

zero-based position in the current content.

Throws

if index is negative or is at least length.