TextReader
Streaming text reader returned by utils.OpenTextReader.
Streaming text reader returned by utils.OpenTextReader.
Closed: boolean = false
Indicates whether the reader has been closed.
EOF: boolean = false
Close()
Closes the file. Calling Close more than once is allowed.
boolean — true if the reader is closed successfully; false if closing the file fails. Calling it again after a successful close returns true.
ReadLine()
Reads the next line and removes its line terminator.
?string — The next decoded line, or null when no line can be returned. When null is returned, EOF is true for clean end of file and false for a read or decoding failure.
Error — If the reader is closed.