@Override
    public void putPadString(String string, int totalLength) {
        checkExpand(totalLength);
        super.putPadString(string, totalLength);
    }
Buffer that can be expanded automatically
@author emeroad
commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/AutomaticBuffer.java