public boolean hasUnterminatedLine() {
    return end == -1;
  }
Reads the next line. A line ends with {@code "\n"} or {@code "\r\n"},
this end of line marker is not included in the result.

@return the next line from the input.
@throws IOException for underlying {@code InputStream} errors.
@throws EOFException for the end of source stream.
core/src/main/java/com/bumptech/glide/disklrucache/StrictLineReader.java