readLine

open override fun readLine(): String?

Read a line of text. #lt are compressed into single newline ('\n') characters. The current line number is incremented whenever a line terminator is read, or when the end of the stream is reached and the last character in the stream is not a line terminator.

Return

A String containing the contents of the line, not including any #lt, or null if the end of the stream has been reached

Throws

IOException

If an I/O error occurs