private boolean inRange(final int codePoint, final int[] codePoints) {
            return codePoint >= codePoints[0] && codePoint <= codePoints[codePoints.length - 1];
        }
Move characters from a buffer to the safe buffer making them safe in
the process.
stroom-pipeline/src/main/java/stroom/pipeline/filter/SafeXMLFilter.java