Bugfixes
This commit is contained in:
parent
0a8709ac3f
commit
033d4995f8
|
@ -75,13 +75,16 @@
|
|||
* type.
|
||||
* <pre>
|
||||
* // The composite type is compatible with the component type.
|
||||
* {@link io.netty5.buffer.ByteBuf} message = {@link io.netty5.buffer.Unpooled}.wrappedBuffer(header, body);
|
||||
* {@link io.netty5.buffer.ByteBuf} message
|
||||
* = {@link io.netty5.buffer.Unpooled}.wrappedBuffer(header, body);
|
||||
*
|
||||
* // Therefore, you can even create a composite by mixing a composite and an
|
||||
* // ordinary buffer.
|
||||
* {@link io.netty5.buffer.ByteBuf} messageWithFooter = {@link io.netty5.buffer.Unpooled}.wrappedBuffer(message, footer);
|
||||
* {@link io.netty5.buffer.ByteBuf} messageWithFooter
|
||||
* = {@link io.netty5.buffer.Unpooled}.wrappedBuffer(message, footer);
|
||||
*
|
||||
* // Because the composite is still a {@link io.netty5.buffer.ByteBuf}, you can access its content
|
||||
* // Because the composite is still
|
||||
* a {@link io.netty5.buffer.ByteBuf}, you can access its content
|
||||
* // easily, and the accessor method will behave just like it's a single buffer
|
||||
* // even if the region you want to access spans over multiple components. The
|
||||
* // unsigned integer being read here is located across body and footer.
|
||||
|
|
Loading…
Reference in New Issue