in src/main/java/com/univocity/parsers/common/input/AbstractCharInputReader.java [261:290]
public final char nextChar() {
if (length == -1) {
throwEOFException();
}
ch = buffer[i++];
if (i >= length) {
updateBuffer();
}
if (lineSeparator1 == ch && (lineSeparator2 == '\0' || length != -1 && lineSeparator2 == buffer[i])) {
lineCount++;
if (normalizeLineEndings) {
ch = normalizedLineSeparator;
if (lineSeparator2 == '\0') {
return ch;
}
if (++i >= length) {
if (length != -1) {
updateBuffer();
} else {
throwEOFException();
}
}
}
}
return ch;
}