CompositeByteBuf.addFlattenedComponents

Add the given {@link ByteBuf} and increase the {@code writerIndex} if {@code increaseWriterIndex} is {@code true}. If the provided buffer is a {@link CompositeByteBuf} itself, a "shallow copy" of its readable components will be performed. Thus the actual number of new components added may vary and in particular will be zero if the provided buffer is not readable. <p> {@link ByteBuf#release()} ownership of {@code buffer} is transferred to this {@link CompositeByteBuf}. @param buffer the {@link ByteBuf} to add. {@link ByteBuf#release()} ownership is transferred to this {@link CompositeByteBuf}.

class CompositeByteBuf
addFlattenedComponents

Meta