final class DuplicatedAbstractByteBuf extends DuplicatedByteBuf
DuplicatedByteBuf implementation that can do optimizations because it knows the duplicated buffer
is of type AbstractByteBuf.leakDetector, readerIndex, writerIndex| Constructor and Description |
|---|
DuplicatedAbstractByteBuf(AbstractByteBuf buffer) |
| Modifier and Type | Method and Description |
|---|---|
protected byte |
_getByte(int index) |
protected int |
_getInt(int index) |
protected long |
_getLong(int index) |
protected short |
_getShort(int index) |
protected int |
_getUnsignedMedium(int index) |
protected void |
_setByte(int index,
int value) |
protected void |
_setInt(int index,
int value) |
protected void |
_setLong(int index,
long value) |
protected void |
_setMedium(int index,
int value) |
protected void |
_setShort(int index,
int value) |
AbstractByteBuf |
unwrap()
Return the underlying buffer instance if this buffer is a wrapper of another buffer.
|
alloc, array, arrayOffset, capacity, capacity, copy, forEachByte, forEachByteDesc, getByte, getBytes, getBytes, getBytes, getBytes, getBytes, getInt, getLong, getShort, getUnsignedMedium, hasArray, hasMemoryAddress, isDirect, memoryAddress, nioBufferCount, nioBuffers, order, setByte, setBytes, setBytes, setBytes, setBytes, setBytes, setInt, setLong, setMedium, setShort, sliceinternalNioBuffer, nioBuffer, refCnt, release, release, retain, retainadjustMarkers, bytesBefore, bytesBefore, bytesBefore, checkDstIndex, checkIndex, checkIndex, checkIndex0, checkReadableBytes, checkSrcIndex, clear, compareTo, copy, discardMarks, discardReadBytes, discardSomeReadBytes, duplicate, ensureAccessible, ensureWritable, ensureWritable, equals, forEachByte, forEachByteDesc, getBoolean, getBytes, getBytes, getBytes, getChar, getDouble, getFloat, getMedium, getUnsignedByte, getUnsignedInt, getUnsignedShort, hashCode, indexOf, isReadable, isReadable, isWritable, isWritable, markReaderIndex, markWriterIndex, maxCapacity, maxCapacity, maxWritableBytes, newSwappedByteBuf, nioBuffer, nioBuffers, order, readableBytes, readBoolean, readByte, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readChar, readDouble, readerIndex, readerIndex, readFloat, readInt, readLong, readMedium, readShort, readSlice, readUnsignedByte, readUnsignedInt, readUnsignedMedium, readUnsignedShort, resetReaderIndex, resetWriterIndex, setBoolean, setBytes, setBytes, setBytes, setChar, setDouble, setFloat, setIndex, setIndex0, setZero, skipBytes, slice, toString, toString, toString, writableBytes, writeBoolean, writeByte, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeMedium, writerIndex, writerIndex, writeShort, writeZeroDuplicatedAbstractByteBuf(AbstractByteBuf buffer)
public AbstractByteBuf unwrap()
ByteBufunwrap in class DuplicatedByteBufnull if this buffer is not a wrapperprotected byte _getByte(int index)
_getByte in class DuplicatedByteBufprotected short _getShort(int index)
_getShort in class DuplicatedByteBufprotected int _getUnsignedMedium(int index)
_getUnsignedMedium in class DuplicatedByteBufprotected int _getInt(int index)
_getInt in class DuplicatedByteBufprotected long _getLong(int index)
_getLong in class DuplicatedByteBufprotected void _setByte(int index,
int value)
_setByte in class DuplicatedByteBufprotected void _setShort(int index,
int value)
_setShort in class DuplicatedByteBufprotected void _setMedium(int index,
int value)
_setMedium in class DuplicatedByteBufprotected void _setInt(int index,
int value)
_setInt in class DuplicatedByteBufprotected void _setLong(int index,
long value)
_setLong in class DuplicatedByteBuf