public boolean isLineBreak() {
            return str.length() == 1 && str.charAt(0) == '\n';
        }
Char to use represent 1 or more bytes that can't be decoded
stroom-pipeline/src/main/java/stroom/pipeline/reader/ByteStreamDecoder.java