klyn.io.TextReader.readLines
method

    public readLines() as ArrayList<String> throws IOException

Description

Reads all remaining lines from the current reader position.

Returned lines preserve their line terminator when present, exactly like repeated calls to `readLine()`.

Returns

Ordered list of remaining lines.

Throws

- IOException if the resource is closed, inaccessible, not a valid file, or the underlying I/O operation fails.