correct the doc of methods:io.netty.buffer.ByteBuf#setBytes(int, io.netty.buffer.ByteBuf) and io.netty.buffer.ByteBuf#setBytes(int, io.netty.buffer.ByteBuf, int) (#11290)
This commit is contained in:
parent
bb800d6067
commit
7b064700a0
@ -1175,7 +1175,7 @@ public abstract class ByteBuf implements ReferenceCounted, Comparable<ByteBuf> {
|
||||
* the number of the transferred bytes while
|
||||
* {@link #setBytes(int, ByteBuf, int, int)} does not.
|
||||
* This method does not modify {@code readerIndex} or {@code writerIndex} of
|
||||
* the source buffer (i.e. {@code this}).
|
||||
* this buffer (i.e. {@code this}).
|
||||
*
|
||||
* @throws IndexOutOfBoundsException
|
||||
* if the specified {@code index} is less than {@code 0} or
|
||||
@ -1192,7 +1192,7 @@ public abstract class ByteBuf implements ReferenceCounted, Comparable<ByteBuf> {
|
||||
* the number of the transferred bytes while
|
||||
* {@link #setBytes(int, ByteBuf, int, int)} does not.
|
||||
* This method does not modify {@code readerIndex} or {@code writerIndex} of
|
||||
* the source buffer (i.e. {@code this}).
|
||||
* this buffer (i.e. {@code this}).
|
||||
*
|
||||
* @param length the number of bytes to transfer
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user