Package | Description |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDerivedByteBuf
Deprecated.
Do not use.
|
(package private) class |
AbstractPooledDerivedByteBuf
Abstract base class for derived
ByteBuf implementations. |
private static class |
AbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf |
private static class |
AbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf |
class |
AbstractReferenceCountedByteBuf
Abstract base class for
ByteBuf implementations that count references. |
(package private) class |
AbstractUnpooledSlicedByteBuf |
(package private) class |
AdvancedLeakAwareCompositeByteBuf |
(package private) static class |
ByteBufUtil.ThreadLocalDirectByteBuf |
(package private) static class |
ByteBufUtil.ThreadLocalUnsafeDirectByteBuf |
class |
CompositeByteBuf
A virtual buffer which shows multiple buffers as a single merged buffer.
|
class |
DuplicatedByteBuf
Deprecated.
Do not use.
|
(package private) class |
FixedCompositeByteBuf
|
(package private) class |
PooledByteBuf<T> |
(package private) class |
PooledDirectByteBuf |
(package private) class |
PooledDuplicatedByteBuf |
(package private) class |
PooledHeapByteBuf |
(package private) class |
PooledSlicedByteBuf |
(package private) class |
PooledUnsafeDirectByteBuf |
(package private) class |
PooledUnsafeHeapByteBuf |
class |
ReadOnlyByteBuf
Deprecated.
Do not use.
|
(package private) class |
ReadOnlyByteBufferBuf
Read-only ByteBuf which wraps a read-only ByteBuffer.
|
(package private) class |
ReadOnlyUnsafeDirectByteBuf
Read-only ByteBuf which wraps a read-only direct ByteBuffer and use unsafe for best performance.
|
(package private) class |
SimpleLeakAwareCompositeByteBuf |
class |
SlicedByteBuf
Deprecated.
Do not use.
|
private static class |
UnpooledByteBufAllocator.InstrumentedUnpooledDirectByteBuf |
private static class |
UnpooledByteBufAllocator.InstrumentedUnpooledHeapByteBuf |
private static class |
UnpooledByteBufAllocator.InstrumentedUnpooledUnsafeDirectByteBuf |
private static class |
UnpooledByteBufAllocator.InstrumentedUnpooledUnsafeHeapByteBuf |
private static class |
UnpooledByteBufAllocator.InstrumentedUnpooledUnsafeNoCleanerDirectByteBuf |
class |
UnpooledDirectByteBuf
A NIO
ByteBuffer based buffer. |
(package private) class |
UnpooledDuplicatedByteBuf
DuplicatedByteBuf implementation that can do optimizations because it knows the duplicated buffer
is of type AbstractByteBuf . |
class |
UnpooledHeapByteBuf
Big endian Java heap buffer implementation.
|
(package private) class |
UnpooledSlicedByteBuf
A special
AbstractUnpooledSlicedByteBuf that can make optimizations because it knows the sliced buffer is of
type AbstractByteBuf . |
class |
UnpooledUnsafeDirectByteBuf
A NIO
ByteBuffer based buffer. |
(package private) class |
UnpooledUnsafeHeapByteBuf |
(package private) class |
UnpooledUnsafeNoCleanerDirectByteBuf |
(package private) class |
WrappedCompositeByteBuf |
(package private) class |
WrappedUnpooledUnsafeDirectByteBuf |
Modifier and Type | Field and Description |
---|---|
private AbstractByteBuf |
AbstractPooledDerivedByteBuf.rootParent |
private AbstractByteBuf |
AbstractUnsafeSwappedByteBuf.wrapped |
Modifier and Type | Method and Description |
---|---|
AbstractByteBuf |
UnpooledSlicedByteBuf.unwrap() |
AbstractByteBuf |
AbstractPooledDerivedByteBuf.unwrap() |
AbstractByteBuf |
UnpooledDuplicatedByteBuf.unwrap() |
Modifier and Type | Method and Description |
---|---|
protected int |
UnsafeDirectSwappedByteBuf._getInt(AbstractByteBuf wrapped,
int index) |
protected abstract int |
AbstractUnsafeSwappedByteBuf._getInt(AbstractByteBuf wrapped,
int index) |
protected int |
UnsafeHeapSwappedByteBuf._getInt(AbstractByteBuf wrapped,
int index) |
protected long |
UnsafeDirectSwappedByteBuf._getLong(AbstractByteBuf wrapped,
int index) |
protected abstract long |
AbstractUnsafeSwappedByteBuf._getLong(AbstractByteBuf wrapped,
int index) |
protected long |
UnsafeHeapSwappedByteBuf._getLong(AbstractByteBuf wrapped,
int index) |
protected short |
UnsafeDirectSwappedByteBuf._getShort(AbstractByteBuf wrapped,
int index) |
protected abstract short |
AbstractUnsafeSwappedByteBuf._getShort(AbstractByteBuf wrapped,
int index) |
protected short |
UnsafeHeapSwappedByteBuf._getShort(AbstractByteBuf wrapped,
int index) |
protected void |
UnsafeDirectSwappedByteBuf._setInt(AbstractByteBuf wrapped,
int index,
int value) |
protected abstract void |
AbstractUnsafeSwappedByteBuf._setInt(AbstractByteBuf wrapped,
int index,
int value) |
protected void |
UnsafeHeapSwappedByteBuf._setInt(AbstractByteBuf wrapped,
int index,
int value) |
protected void |
UnsafeDirectSwappedByteBuf._setLong(AbstractByteBuf wrapped,
int index,
long value) |
protected abstract void |
AbstractUnsafeSwappedByteBuf._setLong(AbstractByteBuf wrapped,
int index,
long value) |
protected void |
UnsafeHeapSwappedByteBuf._setLong(AbstractByteBuf wrapped,
int index,
long value) |
protected void |
UnsafeDirectSwappedByteBuf._setShort(AbstractByteBuf wrapped,
int index,
short value) |
protected abstract void |
AbstractUnsafeSwappedByteBuf._setShort(AbstractByteBuf wrapped,
int index,
short value) |
protected void |
UnsafeHeapSwappedByteBuf._setShort(AbstractByteBuf wrapped,
int index,
short value) |
private static long |
UnsafeDirectSwappedByteBuf.addr(AbstractByteBuf wrapped,
int index) |
(package private) static ByteBuf |
UnsafeByteBufUtil.copy(AbstractByteBuf buf,
long addr,
int index,
int length) |
(package private) static void |
UnsafeByteBufUtil.getBytes(AbstractByteBuf buf,
long addr,
int index,
byte[] dst,
int dstIndex,
int length) |
(package private) static void |
UnsafeByteBufUtil.getBytes(AbstractByteBuf buf,
long addr,
int index,
java.nio.ByteBuffer dst) |
(package private) static void |
UnsafeByteBufUtil.getBytes(AbstractByteBuf buf,
long addr,
int index,
ByteBuf dst,
int dstIndex,
int length) |
(package private) static void |
UnsafeByteBufUtil.getBytes(AbstractByteBuf buf,
long addr,
int index,
java.io.OutputStream out,
int length) |
(package private) <U extends AbstractPooledDerivedByteBuf> |
AbstractPooledDerivedByteBuf.init(AbstractByteBuf unwrapped,
ByteBuf wrapped,
int readerIndex,
int writerIndex,
int maxCapacity) |
(package private) static PooledDuplicatedByteBuf |
PooledDuplicatedByteBuf.newInstance(AbstractByteBuf unwrapped,
ByteBuf wrapped,
int readerIndex,
int writerIndex) |
(package private) static PooledSlicedByteBuf |
PooledSlicedByteBuf.newInstance(AbstractByteBuf unwrapped,
ByteBuf wrapped,
int index,
int length) |
private static PooledSlicedByteBuf |
PooledSlicedByteBuf.newInstance0(AbstractByteBuf unwrapped,
ByteBuf wrapped,
int adjustment,
int length) |
(package private) static void |
UnsafeByteBufUtil.setBytes(AbstractByteBuf buf,
long addr,
int index,
byte[] src,
int srcIndex,
int length) |
(package private) static void |
UnsafeByteBufUtil.setBytes(AbstractByteBuf buf,
long addr,
int index,
java.nio.ByteBuffer src) |
(package private) static void |
UnsafeByteBufUtil.setBytes(AbstractByteBuf buf,
long addr,
int index,
ByteBuf src,
int srcIndex,
int length) |
(package private) static int |
UnsafeByteBufUtil.setBytes(AbstractByteBuf buf,
long addr,
int index,
java.io.InputStream in,
int length) |
(package private) static void |
UnsafeByteBufUtil.setZero(AbstractByteBuf buf,
long addr,
int index,
int length) |
(package private) static int |
ByteBufUtil.writeAscii(AbstractByteBuf buffer,
int writerIndex,
java.lang.CharSequence seq,
int len) |
(package private) static int |
ByteBufUtil.writeUtf8(AbstractByteBuf buffer,
int writerIndex,
java.lang.CharSequence seq,
int len) |
Constructor and Description |
---|
AbstractUnsafeSwappedByteBuf(AbstractByteBuf buf) |
PooledNonRetainedDuplicateByteBuf(ReferenceCounted referenceCountDelegate,
AbstractByteBuf buffer) |
PooledNonRetainedSlicedByteBuf(ReferenceCounted referenceCountDelegate,
AbstractByteBuf buffer,
int index,
int length) |
UnpooledDuplicatedByteBuf(AbstractByteBuf buffer) |
UnpooledSlicedByteBuf(AbstractByteBuf buffer,
int index,
int length) |
UnsafeDirectSwappedByteBuf(AbstractByteBuf buf) |
UnsafeHeapSwappedByteBuf(AbstractByteBuf buf) |