@Override
    public String toString() {
        return new String(buffer, offset, length);
    }
Create a buffer with a specified initial size.

@param initialSize The initial size of the buffer.
stroom-pipeline/src/main/java/stroom/pipeline/xml/converter/ds3/CharBuffer.java