Method
ReadChar
func ReadChar() -> Result<Optional<Character>, TextReadError>
Declaring type: SyncStreamReader
Module: System.IO
Assembly: System.Runtime.dll
Source file: SyncStreamReader.rvn
Implements SyncTextReader.ReadChar
Reads one Unicode grapheme and advances the shared text cursor.
Return value
Result<Optional<Character>, TextReadError>
Some Character, None at EOF, or a decoding, I/O, Busy or limit error.
Remarks
Shares buffered lookahead with PeekChar, counted reads and line reads. Counts graphemes rather than UTF-8 bytes or Unicode scalars; maximum 65536 UTF-8 bytes.