class DynamicCompositeByteBuf {

    public void addBuffer(ByteBuf buffer) {
        if (buffer != null) {
            int bufLen = buffer.readableBytes();
            if (bufLen > 0) {
                buffers.add(buffer);
                readableBytes += bufLen;
            }
        }
    }

    public  DynamicCompositeByteBuf();
    public  DynamicCompositeByteBuf(int capacity);
    public  DynamicCompositeByteBuf(ByteBuf buf);
    public  DynamicCompositeByteBuf(ByteBuf[] bufs, int offset, int len);

}