- readableBytes
Returns the number of readable bytes which is equal to (this.writerIndex -
this.readerIndex).
- release
- getBytes
Transfers this buffer's data to the specified destination starting at the
specified absolute index.
- readBytes
Transfers this buffer's data to the specified destination starting at the
current readerIndex and in
- readerIndex
Sets the readerIndex of this buffer.
- clear
Sets the readerIndex and writerIndex of this buffer to 0. This method is
identical to #setIndex(int,
- getByte
Gets a byte at the specified absolute index in this buffer. This method does not
modify readerIndex
- writeBytes
Transfers the specified source array's data to this buffer starting at the
current writerIndex and i
- array
Returns the backing byte array of this buffer.
- markReaderIndex
Marks the current readerIndex in this buffer. You can reposition the current
readerIndex to the mark
- readByte
Gets a byte at the current readerIndex and increases the readerIndex by 1 in
this buffer.
- refCnt