@Override
    public String toString() {
        return new String(buffer, start, end - start);
    }
Take the specified number of characters off the start of the buffer.
stroom-util/src/main/java/stroom/util/CharBuffer.java