System.out.println("increment Capacity to " + newCapacity);
    private void incrementCapacity() {        byte[] oldBuffer = buffer;        int newCapacity = (capacityIncrement > 0) ?            (buffer.length + capacityIncrement) : (buffer.length * 2);        System.out.println("increment Capacity to " + newCapacity);        buffer = new byte[newCapacity];        System.arraycopy(oldBuffer, 0, buffer, 0, position);    }