Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Interface

SyncTextReader

interface SyncTextReader

Module: System.IO
Assembly: System.Runtime.dll
Source file: SyncTextReader.rvn

Synchronous decoded text reads sharing one logical cursor.

Implementing types

Documented types in this API reference. Indirect relationships are marked.

Properties

1 item
NewLine: string Exact nonempty line delimiter, removed from ReadLine results. Defaults to LF. Defined by SyncTextReader.NewLine · Required implementation (no default).

Methods

7 items
Close() -> () No summary available. Defined by SyncTextReader.Close · Required implementation (no default).
PeekChar() -> Result<Optional<Character>, TextReadError> Peeks at the next grapheme without consuming it; None denotes EOF. Defined by SyncTextReader.PeekChar · Required implementation (no default).
Read(count: int, maxUtf8Bytes: int) -> Result<string, TextReadError> Reads the requested grapheme count with a separate result byte bound. Defined by SyncTextReader.Read · Required implementation (no default).
Read(count: int) -> Result<string, TextReadError> Reads the requested grapheme count, or the shorter remainder at EOF. Defined by SyncTextReader.Read · Required implementation (no default).
ReadChar() -> Result<Optional<Character>, TextReadError> Reads one grapheme; None denotes EOF. Defined by SyncTextReader.ReadChar · Required implementation (no default).
ReadLine(maxUtf8Bytes: int) -> Result<Optional<string>, TextReadError> No summary available. Defined by SyncTextReader.ReadLine · Required implementation (no default).
ReadToEnd(maxUtf8Bytes: int) -> Result<string, TextReadError> No summary available. Defined by SyncTextReader.ReadToEnd · Required implementation (no default).