void move(final int len) {
            if (count >= len) {
                System.arraycopy(buf, len, buf, 0, count - len);
                count -= len;
            }
        }
Buffer for reading byte data with a provided encoding
stroom-pipeline/src/main/java/stroom/pipeline/reader/ReaderRecorder.java