CompositeByteBuf.addComponent

Add the given {@link ByteBuf} on the specific index and increase the {@code writerIndex} if {@code increaseWriterIndex} is {@code true}.

{@link ByteBuf#release()} ownership of {@code buffer} is transferred to this {@link CompositeByteBuf}. @param cIndex the index on which the {@link ByteBuf} will be added. @param buffer the {@link ByteBuf} to add. {@link ByteBuf#release()} ownership is transferred to this {@link CompositeByteBuf}.

Meta