readChar

open fun readChar(): Int

Read a single character (UTF-16 code unit) from this stream.

Return

Unsigned integer equivalent of the character read (a UTF-16 code unit), or -1 at end of stream.