DuplicatedByteBuf

A derived buffer which simply forwards all data access requests to its parent. It is recommended to use {@link ByteBuf#duplicate()} instead of calling the constructor explicitly.

deprecated("") Do not use.

class DuplicatedByteBuf : AbstractDerivedByteBuf {}

Constructors

this
this(ByteBuf buffer)
Undocumented in source.
this
this(ByteBuf buffer, int readerIndex, int writerIndex)
Undocumented in source.

Members

Functions

_getByte
byte _getByte(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getInt
int _getInt(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getIntLE
int _getIntLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getLong
long _getLong(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getLongLE
long _getLongLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getShort
short _getShort(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getShortLE
short _getShortLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getUnsignedMedium
int _getUnsignedMedium(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getUnsignedMediumLE
int _getUnsignedMediumLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_setByte
void _setByte(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setInt
void _setInt(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setIntLE
void _setIntLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setLong
void _setLong(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setLongLE
void _setLongLE(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setMedium
void _setMedium(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setMediumLE
void _setMediumLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setShort
void _setShort(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setShortLE
void _setShortLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
alloc
ByteBufAllocator alloc()
Undocumented in source. Be warned that the author may not have intended to support it.
array
byte[] array()
Undocumented in source. Be warned that the author may not have intended to support it.
arrayOffset
int arrayOffset()
Undocumented in source. Be warned that the author may not have intended to support it.
capacity
int capacity()
Undocumented in source. Be warned that the author may not have intended to support it.
capacity
ByteBuf capacity(int newCapacity)
Undocumented in source. Be warned that the author may not have intended to support it.
copy
ByteBuf copy(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
forEachByte
int forEachByte(int index, int length, ByteProcessor processor)
Undocumented in source. Be warned that the author may not have intended to support it.
forEachByteDesc
int forEachByteDesc(int index, int length, ByteProcessor processor)
Undocumented in source. Be warned that the author may not have intended to support it.
getByte
byte getByte(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, ByteBuf dst, int dstIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, byte[] dst, int dstIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, ByteBuffer dst)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, OutputStream outStream, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
getInt
int getInt(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getIntLE
int getIntLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getLong
long getLong(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getLongLE
long getLongLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getShort
short getShort(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getShortLE
short getShortLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getUnsignedMedium
int getUnsignedMedium(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getUnsignedMediumLE
int getUnsignedMediumLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
hasArray
bool hasArray()
Undocumented in source. Be warned that the author may not have intended to support it.
hasMemoryAddress
bool hasMemoryAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
isDirect
bool isDirect()
Undocumented in source. Be warned that the author may not have intended to support it.
memoryAddress
long memoryAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
nioBufferCount
int nioBufferCount()
Undocumented in source. Be warned that the author may not have intended to support it.
nioBuffers
ByteBuffer[] nioBuffers(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
order
ByteOrder order()
Undocumented in source. Be warned that the author may not have intended to support it.
setByte
ByteBuf setByte(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
ByteBuf setBytes(int index, byte[] src, int srcIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
ByteBuf setBytes(int index, ByteBuf src, int srcIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
ByteBuf setBytes(int index, ByteBuffer src)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
int setBytes(int index, InputStream inStream, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
setInt
ByteBuf setInt(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setIntLE
ByteBuf setIntLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setLong
ByteBuf setLong(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
setLongLE
ByteBuf setLongLE(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
setMedium
ByteBuf setMedium(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setMediumLE
ByteBuf setMediumLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setShort
ByteBuf setShort(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setShortLE
ByteBuf setShortLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
slice
ByteBuf slice(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
unwrap
ByteBuf unwrap()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From AbstractDerivedByteBuf

isAccessible
bool isAccessible()
Undocumented in source. Be warned that the author may not have intended to support it.
refCnt
int refCnt()
Undocumented in source. Be warned that the author may not have intended to support it.
refCnt0
int refCnt0()
Undocumented in source. Be warned that the author may not have intended to support it.
retain
ByteBuf retain()
Undocumented in source. Be warned that the author may not have intended to support it.
retain0
ByteBuf retain0()
Undocumented in source. Be warned that the author may not have intended to support it.
retain
ByteBuf retain(int increment)
Undocumented in source. Be warned that the author may not have intended to support it.
retain0
ByteBuf retain0(int increment)
Undocumented in source. Be warned that the author may not have intended to support it.
touch
ByteBuf touch()
Undocumented in source. Be warned that the author may not have intended to support it.
touch0
ByteBuf touch0()
Undocumented in source. Be warned that the author may not have intended to support it.
touch
ByteBuf touch(Object hint)
Undocumented in source. Be warned that the author may not have intended to support it.
touch0
ByteBuf touch0(Object hint)
Undocumented in source. Be warned that the author may not have intended to support it.
release
bool release()
Undocumented in source. Be warned that the author may not have intended to support it.
release0
bool release0()
Undocumented in source. Be warned that the author may not have intended to support it.
release
bool release(int decrement)
Undocumented in source. Be warned that the author may not have intended to support it.
release0
bool release0(int decrement)
Undocumented in source. Be warned that the author may not have intended to support it.
isReadOnly
bool isReadOnly()
Undocumented in source. Be warned that the author may not have intended to support it.
internalNioBuffer
ByteBuffer internalNioBuffer(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
nioBuffer
ByteBuffer nioBuffer(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta