- readableBytes
Returns the number of readable bytes which is equal to (this.writerIndex -
this.readerIndex).
- readBytes
Transfers this buffer's data to the specified destination starting at the
current readerIndex and in
- writeBytes
Transfers the specified source array's data to this buffer starting at the
current writerIndex and i
- readByte
Gets a byte at the current readerIndex and increases the readerIndex by 1 in
this buffer.
- readerIndex
Sets the readerIndex of this buffer.
- toString
Decodes this buffer's readable bytes into a string with the specified character
set name. This metho
- array
Returns the backing byte array of this buffer.
- writeByte
Sets the specified byte at the current writerIndexand increases the writerIndex
by 1 in this buffer.
- resetReaderIndex
Repositions the current readerIndex to the marked readerIndex in this buffer.
- readable
Returns trueif and only if (this.writerIndex - this.readerIndex) is greater than
0.
- markReaderIndex
Marks the current readerIndex in this buffer. You can reposition the current
readerIndex to the mark
- skipBytes