End-of-line (EOLN) symbols are important when parsing logs in LONG format, so we have to make them available to the logcat parser. This PR introduces LineReader - the replacement for the Java's BufferedReader that keeps EOLN characters in its output, and uses it to parse logs. We adjust the rest of the parsing infrastructure to either trim EOLN early (for dumpstate files), or to be tolerant to them (logcat parsers).
End-of-line (EOLN) symbols are important when parsing logs in LONG format, so we have to make them available to the logcat parser. This PR introduces LineReader - the replacement for the Java's BufferedReader that keeps EOLN characters in its output, and uses it to parse logs. We adjust the rest of the parsing infrastructure to either trim EOLN early (for dumpstate files), or to be tolerant to them (logcat parsers).
Part of #169