public static String readAsciiLine(InputStream in) throws IOException {
        // TODO: support UTF-8 here instead

        StringBuilder result = new StringBuilder(80);
        while (true) {
            int c = in.read();
            if (c == -1) {
                throw new EOFException();
            } else if (c == '\n') {
                break;
            }

            result.append((char) c);
        }
        int length = result.length();
        if (length > 0 && result.charAt(length - 1) == '\r') {
            result.setLength(length - 1);
        }
        return result.toString();
    }
Returns the ASCII characters up to but not including the next "\r\n", or
"\n".

@throws java.io.EOFException if the stream is exhausted before the next newline
    character.
app/src/main/java/com/duan/musicoco/cache/DiskLruCache.java