Method
PeekChar
abstract virtual func PeekChar() -> Result<Optional<Character>, TextReadError>
Declaring type: SyncTextReader
Module: System.IO
Assembly: System.Runtime.dll
Source file: SyncTextReader.rvn
Defined by SyncTextReader.PeekChar · Required implementation (no default).
Interface implementation: Required implementation (no default).
Peeks at the next grapheme without consuming it; None denotes EOF.
Return value
Result<Optional<Character>, TextReadError>
Character or a text read error. May buffer underlying input to find a boundary.