Top Description Constructors Methods
io.netty.buffer

pack-priv Class UnpooledDuplicatedByteBuf

extends DuplicatedByteBuf
Class Inheritance
Known Direct Subclasses
io.netty.buffer.AbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf

Deprecated

as a consequence of DuplicatedByteBuf being deprecated. See corresponding docs for further information.

DuplicatedByteBuf implementation that can do optimizations because it knows the duplicated buffer is of type AbstractByteBuf.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected byte
protected int
protected int
protected long
protected long
protected short
protected short
protected int
protected int
protected void
_setByte(int index, int value)

Overrides io.netty.buffer.DuplicatedByteBuf._setByte.

protected void
_setInt(int index, int value)

Overrides io.netty.buffer.DuplicatedByteBuf._setInt.

protected void
protected void
_setLong(int index, long value)

Overrides io.netty.buffer.DuplicatedByteBuf._setLong.

protected void
protected void
protected void
protected void
protected void
public AbstractByteBuf
unwrap()

Overrides io.netty.buffer.DuplicatedByteBuf.unwrap.

Return the underlying buffer instance if this buffer is a wrapper of another buffer.
Inherited from io.netty.buffer.DuplicatedByteBuf:
allocarrayarrayOffsetcapacitycapacitycopyforEachByteforEachByteDescgetBytegetBytesgetBytesgetBytesgetBytesgetBytesgetBytesgetIntgetIntLEgetLonggetLongLEgetShortgetShortLEgetUnsignedMediumgetUnsignedMediumLEhasArrayhasMemoryAddressisDirectmemoryAddressnioBufferCountnioBuffersordersetBytesetBytessetBytessetBytessetBytessetBytessetBytessetIntsetIntLEsetLongsetLongLEsetMediumsetMediumLEsetShortsetShortLEslice

Constructor Detail

UnpooledDuplicatedByteBufback to summary
pack-priv UnpooledDuplicatedByteBuf(AbstractByteBuf buffer)

Method Detail

_getByteback to summary
protected byte _getByte(int index)

Overrides io.netty.buffer.DuplicatedByteBuf._getByte.

Annotations
@Override
_getIntback to summary
protected int _getInt(int index)

Overrides io.netty.buffer.DuplicatedByteBuf._getInt.

Annotations
@Override
_getIntLEback to summary
protected int _getIntLE(int index)

Overrides io.netty.buffer.DuplicatedByteBuf._getIntLE.

Annotations
@Override
_getLongback to summary
protected long _getLong(int index)

Overrides io.netty.buffer.DuplicatedByteBuf._getLong.

Annotations
@Override
_getLongLEback to summary
protected long _getLongLE(int index)

Overrides io.netty.buffer.DuplicatedByteBuf._getLongLE.

Annotations
@Override
_getShortback to summary
protected short _getShort(int index)

Overrides io.netty.buffer.DuplicatedByteBuf._getShort.

Annotations
@Override
_getShortLEback to summary
protected short _getShortLE(int index)

Overrides io.netty.buffer.DuplicatedByteBuf._getShortLE.

Annotations
@Override
_getUnsignedMediumback to summary
protected int _getUnsignedMedium(int index)

Overrides io.netty.buffer.DuplicatedByteBuf._getUnsignedMedium.

Annotations
@Override
_getUnsignedMediumLEback to summary
protected int _getUnsignedMediumLE(int index)

Overrides io.netty.buffer.DuplicatedByteBuf._getUnsignedMediumLE.

Annotations
@Override
_setByteback to summary
protected void _setByte(int index, int value)

Overrides io.netty.buffer.DuplicatedByteBuf._setByte.

Annotations
@Override
_setIntback to summary
protected void _setInt(int index, int value)

Overrides io.netty.buffer.DuplicatedByteBuf._setInt.

Annotations
@Override
_setIntLEback to summary
protected void _setIntLE(int index, int value)

Overrides io.netty.buffer.DuplicatedByteBuf._setIntLE.

Annotations
@Override
_setLongback to summary
protected void _setLong(int index, long value)

Overrides io.netty.buffer.DuplicatedByteBuf._setLong.

Annotations
@Override
_setLongLEback to summary
protected void _setLongLE(int index, long value)

Overrides io.netty.buffer.DuplicatedByteBuf._setLongLE.

Annotations
@Override
_setMediumback to summary
protected void _setMedium(int index, int value)

Overrides io.netty.buffer.DuplicatedByteBuf._setMedium.

Annotations
@Override
_setMediumLEback to summary
protected void _setMediumLE(int index, int value)

Overrides io.netty.buffer.DuplicatedByteBuf._setMediumLE.

Annotations
@Override
_setShortback to summary
protected void _setShort(int index, int value)

Overrides io.netty.buffer.DuplicatedByteBuf._setShort.

Annotations
@Override
_setShortLEback to summary
protected void _setShortLE(int index, int value)

Overrides io.netty.buffer.DuplicatedByteBuf._setShortLE.

Annotations
@Override
unwrapback to summary
public AbstractByteBuf unwrap()

Overrides io.netty.buffer.DuplicatedByteBuf.unwrap.

Doc from io.netty.buffer.ByteBuf.unwrap.

Return the underlying buffer instance if this buffer is a wrapper of another buffer.

Returns:AbstractByteBuf

null if this buffer is not a wrapper

Annotations
@Override