final class UnsafeHeapSwappedByteBuf extends AbstractUnsafeSwappedByteBuf
SwappedByteBuf for ByteBufs that use unsafe to access the byte array.| Constructor and Description |
|---|
UnsafeHeapSwappedByteBuf(AbstractByteBuf buf) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
_getInt(AbstractByteBuf wrapped,
int index) |
protected long |
_getLong(AbstractByteBuf wrapped,
int index) |
protected short |
_getShort(AbstractByteBuf wrapped,
int index) |
protected void |
_setInt(AbstractByteBuf wrapped,
int index,
int value) |
protected void |
_setLong(AbstractByteBuf wrapped,
int index,
long value) |
protected void |
_setShort(AbstractByteBuf wrapped,
int index,
short value) |
private static int |
idx(ByteBuf wrapped,
int index) |
getChar, getDouble, getFloat, getInt, getLong, getShort, getUnsignedInt, getUnsignedShort, setChar, setDouble, setFloat, setInt, setLong, setShort, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeShortalloc, array, arrayOffset, asReadOnly, bytesBefore, bytesBefore, bytesBefore, capacity, capacity, clear, compareTo, copy, copy, discardReadBytes, discardSomeReadBytes, duplicate, ensureWritable, ensureWritable, equals, forEachByte, forEachByte, forEachByteDesc, forEachByteDesc, getBoolean, getByte, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getCharSequence, getIntLE, getLongLE, getMedium, getMediumLE, getShortLE, getUnsignedByte, getUnsignedIntLE, getUnsignedMedium, getUnsignedMediumLE, getUnsignedShortLE, hasArray, hashCode, hasMemoryAddress, indexOf, internalNioBuffer, isDirect, isReadable, isReadable, isReadOnly, isWritable, isWritable, markReaderIndex, markWriterIndex, maxCapacity, maxWritableBytes, memoryAddress, nioBuffer, nioBuffer, nioBufferCount, nioBuffers, nioBuffers, order, order, readableBytes, readBoolean, readByte, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readChar, readCharSequence, readDouble, readerIndex, readerIndex, readFloat, readInt, readIntLE, readLong, readLongLE, readMedium, readMediumLE, readRetainedSlice, readShort, readShortLE, readSlice, readUnsignedByte, readUnsignedInt, readUnsignedIntLE, readUnsignedMedium, readUnsignedMediumLE, readUnsignedShort, readUnsignedShortLE, refCnt, release, release, resetReaderIndex, resetWriterIndex, retain, retain, retainedDuplicate, retainedSlice, retainedSlice, setBoolean, setByte, setBytes, setBytes, setBytes, setBytes, setBytes, setBytes, setBytes, setBytes, setBytes, setCharSequence, setIndex, setIntLE, setLongLE, setMedium, setMediumLE, setShortLE, setZero, skipBytes, slice, slice, toString, toString, toString, touch, touch, unwrap, writableBytes, writeBoolean, writeByte, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeCharSequence, writeIntLE, writeLongLE, writeMedium, writeMediumLE, writerIndex, writerIndex, writeShortLE, writeZeroUnsafeHeapSwappedByteBuf(AbstractByteBuf buf)
private static int idx(ByteBuf wrapped, int index)
protected long _getLong(AbstractByteBuf wrapped, int index)
_getLong in class AbstractUnsafeSwappedByteBufprotected int _getInt(AbstractByteBuf wrapped, int index)
_getInt in class AbstractUnsafeSwappedByteBufprotected short _getShort(AbstractByteBuf wrapped, int index)
_getShort in class AbstractUnsafeSwappedByteBufprotected void _setShort(AbstractByteBuf wrapped, int index, short value)
_setShort in class AbstractUnsafeSwappedByteBufprotected void _setInt(AbstractByteBuf wrapped, int index, int value)
_setInt in class AbstractUnsafeSwappedByteBufprotected void _setLong(AbstractByteBuf wrapped, int index, long value)
_setLong in class AbstractUnsafeSwappedByteBuf