Method
ReadChar
func ReadChar() -> Task<Result<Optional<Character>, TextReadError>>
Declaring type: StreamReader
Module: System.IO
Assembly: System.Runtime.dll
Source file: StreamReader.rvn
Implements TextReader.ReadChar
Reads one Unicode grapheme and advances the shared text cursor.
Return value
Task<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.