IReadOnlyTextSource
Represents a text source that can be read from.
Gets or sets the encoding to use.
Gets or sets the current index of the insertation and read point.
Gets the character at the given position in the text buffer.
Gets the length of the text buffer.
Gets the full text buffer.
Prefetches the whole stream by expanding the internal buffer.
Prefetches the number of bytes by expanding the internal buffer.
char ReadCharacter()
Reads the next character from the buffer or underlying stream, if
any.
Reads the upcoming numbers of characters from the buffer or
underlying stream, if any.
Reads the upcoming numbers of characters from the buffer or
underlying stream, if any.
Gets the content length, if known.