Reads and returns a single line from the stream.
An exception if either the stream end was hit without hitting a newline first, or if more than max_bytes have been read from the stream.
See Implementation
Reads and returns a single line from the stream.