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.
|
class |
AbstractReferenceCountedByteBuf
Abstract base class for
ByteBuf implementations that count references. |
(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.
|
(package private) class |
DuplicatedAbstractByteBuf
DuplicatedByteBuf implementation that can do optimizations because it knows the duplicated buffer
is of type AbstractByteBuf . |
class |
DuplicatedByteBuf
Deprecated.
Do not use.
|
(package private) class |
FixedCompositeByteBuf
|
(package private) class |
PooledByteBuf<T> |
(package private) class |
PooledDirectByteBuf |
(package private) class |
PooledHeapByteBuf |
(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 |
(package private) class |
SlicedAbstractByteBuf
A special
SlicedByteBuf that can make optimizations because it knows the sliced buffer is of type
AbstractByteBuf . |
class |
SlicedByteBuf
Deprecated.
Do not use.
|
class |
UnpooledDirectByteBuf
A NIO
ByteBuffer based buffer. |
class |
UnpooledHeapByteBuf
Big endian Java heap buffer implementation.
|
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 |
AbstractUnsafeSwappedByteBuf.wrapped |
Modifier and Type | Method and Description |
---|---|
AbstractByteBuf |
SlicedAbstractByteBuf.unwrap() |
AbstractByteBuf |
DuplicatedAbstractByteBuf.unwrap() |
Modifier and Type | Method and Description |
---|---|
protected int |
UnsafeHeapSwappedByteBuf._getInt(AbstractByteBuf wrapped,
int index) |
protected abstract int |
AbstractUnsafeSwappedByteBuf._getInt(AbstractByteBuf wrapped,
int index) |
protected int |
UnsafeDirectSwappedByteBuf._getInt(AbstractByteBuf wrapped,
int index) |
protected long |
UnsafeHeapSwappedByteBuf._getLong(AbstractByteBuf wrapped,
int index) |
protected abstract long |
AbstractUnsafeSwappedByteBuf._getLong(AbstractByteBuf wrapped,
int index) |
protected long |
UnsafeDirectSwappedByteBuf._getLong(AbstractByteBuf wrapped,
int index) |
protected short |
UnsafeHeapSwappedByteBuf._getShort(AbstractByteBuf wrapped,
int index) |
protected abstract short |
AbstractUnsafeSwappedByteBuf._getShort(AbstractByteBuf wrapped,
int index) |
protected short |
UnsafeDirectSwappedByteBuf._getShort(AbstractByteBuf wrapped,
int index) |
protected void |
UnsafeHeapSwappedByteBuf._setInt(AbstractByteBuf wrapped,
int index,
int value) |
protected abstract void |
AbstractUnsafeSwappedByteBuf._setInt(AbstractByteBuf wrapped,
int index,
int value) |
protected void |
UnsafeDirectSwappedByteBuf._setInt(AbstractByteBuf wrapped,
int index,
int value) |
protected void |
UnsafeHeapSwappedByteBuf._setLong(AbstractByteBuf wrapped,
int index,
long value) |
protected abstract void |
AbstractUnsafeSwappedByteBuf._setLong(AbstractByteBuf wrapped,
int index,
long value) |
protected void |
UnsafeDirectSwappedByteBuf._setLong(AbstractByteBuf wrapped,
int index,
long value) |
protected void |
UnsafeHeapSwappedByteBuf._setShort(AbstractByteBuf wrapped,
int index,
short value) |
protected abstract void |
AbstractUnsafeSwappedByteBuf._setShort(AbstractByteBuf wrapped,
int index,
short value) |
protected void |
UnsafeDirectSwappedByteBuf._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) 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) |
private static void |
ByteBufUtil.writeAscii(AbstractByteBuf buffer,
java.lang.CharSequence seq,
int len) |
private static int |
ByteBufUtil.writeUtf8(AbstractByteBuf buffer,
java.lang.CharSequence seq,
int len) |
Constructor and Description |
---|
AbstractUnsafeSwappedByteBuf(AbstractByteBuf buf) |
DuplicatedAbstractByteBuf(AbstractByteBuf buffer) |
SlicedAbstractByteBuf(AbstractByteBuf buffer,
int index,
int length) |
UnsafeDirectSwappedByteBuf(AbstractByteBuf buf) |
UnsafeHeapSwappedByteBuf(AbstractByteBuf buf) |