TeXStreamReader class

TeXStreamReader class

Provides reading from a text stream.

The TeXStreamReader type exposes the following members:

Methods

NameDescription
read()Reads all characters from the current position to the end of the text reader and returns them as one string.
read(buffer, index, count)Reads a specified maximum number of characters from the current reader and writes the data to a buffer,
beginning at the specified index.
read_to_end()Reads all characters from the current position to the end of the text reader and returns them as one string.
read_line()Reads a line of characters from the text reader and returns the data as a string.
close()Closes the TextReader and releases any system resources associated with the TextReader.

See Also