InputStream.readLine

Read a line that is terminated with some combination of carriage return and line feed or end-of-file.

The terminators are not included. The wchar version is identical. The optional buffer parameter is filled (reallocating it if necessary) and a slice of the result is returned.

  1. char[] readLine()
    interface InputStream
    char[]
    readLine
    ()
  2. char[] readLine(char[] result)

Meta