class DynamicCompositeByteBuf {

    public byte[] array() throws UnsupportedOperationException {
        if (hasArray()) {
            return buffers.peekFirst().array();
        }
        throw new UnsupportedOperationException();
    }

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

}