@Override
    public void putShort(final short v) {
        checkExpand(2);
        super.putShort(v);
    }
Buffer that can be expanded automatically
@author emeroad
commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/AutomaticBuffer.java