readLine
Reads and returns a line of UTF-8 characters.
Reads UTF-8 characters until a line break is found or the channel is exhausted. Implicit line break is assumed if the channel ends without a line break. Line break characters are not included in the result.
Return
the line, or null if can't read from the channel
Parameters
lineEnding
line ending mode. Accepts LF and CRLF by default.