Top Description Constructors Methods
io.netty.buffer

pack-priv final Class UnsafeHeapSwappedByteBuf

extends AbstractUnsafeSwappedByteBuf
Class Inheritance
Imports
io.netty.util.internal.PlatformDependent

Deprecated

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

Special SwappedByteBuf for ByteBufs that use unsafe to access the byte array.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected int
protected long
protected short
protected void
_setInt(AbstractByteBuf wrapped, int index, int value)

Implements abstract io.netty.buffer.AbstractUnsafeSwappedByteBuf._setInt.

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

Implements abstract io.netty.buffer.AbstractUnsafeSwappedByteBuf._setLong.

protected void
_setShort(AbstractByteBuf wrapped, int index, short value)

Implements abstract io.netty.buffer.AbstractUnsafeSwappedByteBuf._setShort.

private static int
idx(ByteBuf wrapped, int index)

Inherited from io.netty.buffer.AbstractUnsafeSwappedByteBuf:
getChargetDoublegetFloatgetIntgetLonggetShortgetUnsignedIntgetUnsignedShortsetCharsetDoublesetFloatsetIntsetLongsetShortwriteCharwriteDoublewriteFloatwriteIntwriteLongwriteShort

Constructor Detail

UnsafeHeapSwappedByteBufback to summary
pack-priv UnsafeHeapSwappedByteBuf(AbstractByteBuf buf)

Method Detail

_getIntback to summary
protected int _getInt(AbstractByteBuf wrapped, int index)

Implements abstract io.netty.buffer.AbstractUnsafeSwappedByteBuf._getInt.

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

Implements abstract io.netty.buffer.AbstractUnsafeSwappedByteBuf._getLong.

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

Implements abstract io.netty.buffer.AbstractUnsafeSwappedByteBuf._getShort.

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

Implements abstract io.netty.buffer.AbstractUnsafeSwappedByteBuf._setInt.

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

Implements abstract io.netty.buffer.AbstractUnsafeSwappedByteBuf._setLong.

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

Implements abstract io.netty.buffer.AbstractUnsafeSwappedByteBuf._setShort.

Annotations
@Override
idxback to summary
private static int idx(ByteBuf wrapped, int index)