@Override
    public void putBytes(final byte[] v) {
        if (v == null) {
            throw new NullPointerException("v");
        }
        checkExpand(v.length);
        super.putBytes(v);
    }
Buffer that can be expanded automatically
@author emeroad
commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/AutomaticBuffer.java