public void pad(final int num, final char c) {
        if (num > 0) {
            for (int i = 0; i < num; i++) {
                append(c);
            }
        }
    }
Adds the specified number of characters to the end of the buffer.
stroom-util/src/main/java/stroom/util/CharBuffer.java