- readerIndex
Sets the readerIndex of this buffer.
- readableBytes
Returns the number of readable bytes which is equal to (this.writerIndex -
this.readerIndex).
- writeBytes
Transfers the specified source array's data to this buffer starting at the
current writerIndex and i
- toByteBuffer
Converts this buffer's sub-region into a NIO buffer. The returned buffer might
or might not share th
- discardReadBytes
Discards the bytes between the 0th index and readerIndex. It moves the bytes
between readerIndex and
- getBytes
Transfers this buffer's data to the specified destination starting at the
specified absolute index.
- setBytes
Transfers the specified source array's data to this buffer starting at the
specified absolute index.
- writableBytes
Returns the number of writable bytes which is equal to (this.capacity -
this.writerIndex).
- writerIndex
Sets the writerIndex of this buffer.
- readBytes
Transfers this buffer's data to the specified destination starting at the
current readerIndex and in
- array
Returns the backing byte array of this buffer.
- arrayOffset
Returns the offset of the first byte within the backing byte array of this
buffer.