Reads a single line from the stream. Returns null at end of stream or if the reader has been closed.
Example:
string? line = reader.readLine ();
the next line without line terminator, or null at EOF.