Uses of Class
io.netty.buffer.AbstractByteBuf
Packages that use AbstractByteBuf
Package
Description
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
-
Uses of AbstractByteBuf in io.netty.buffer
Subclasses of AbstractByteBuf in io.netty.bufferModifier and TypeClassDescriptionclass
Deprecated.Do not use.(package private) class
Abstract base class for derivedByteBuf
implementations.private static final class
private static final class
class
Abstract base class forByteBuf
implementations that count references.(package private) class
(package private) static final class
(package private) final class
(package private) static final class
(package private) static final class
class
A virtual buffer which shows multiple buffers as a single merged buffer.class
Deprecated.Do not use.(package private) final class
(package private) class
(package private) final class
(package private) final class
(package private) class
(package private) final class
(package private) final class
(package private) final class
class
Deprecated.Do not use.(package private) class
Read-only ByteBuf which wraps a read-only ByteBuffer.private static final class
private static final class
(package private) final class
Read-only ByteBuf which wraps a read-only direct ByteBuffer and use unsafe for best performance.(package private) class
class
Deprecated.Do not use.private static final class
private static final class
private static final class
private static final class
private static final class
class
A NIOByteBuffer
based buffer.(package private) class
DuplicatedByteBuf
implementation that can do optimizations because it knows the duplicated buffer is of typeAbstractByteBuf
.class
Big endian Java heap buffer implementation.(package private) class
A specialAbstractUnpooledSlicedByteBuf
that can make optimizations because it knows the sliced buffer is of typeAbstractByteBuf
.class
A NIOByteBuffer
based buffer.class
Big endian Java heap buffer implementation.(package private) class
(package private) class
(package private) final class
Fields in io.netty.buffer declared as AbstractByteBufModifier and TypeFieldDescriptionprivate final AbstractByteBuf
AdaptivePoolingAllocator.Chunk.delegate
private AbstractByteBuf
AbstractPooledDerivedByteBuf.rootParent
private AbstractByteBuf
AdaptivePoolingAllocator.AdaptiveByteBuf.rootParent
private final AbstractByteBuf
AbstractUnsafeSwappedByteBuf.wrapped
Methods in io.netty.buffer that return AbstractByteBufModifier and TypeMethodDescriptionAdaptiveByteBufAllocator.DirectChunkAllocator.allocate
(int initialCapacity, int maxCapacity) AdaptiveByteBufAllocator.HeapChunkAllocator.allocate
(int initialCapacity, int maxCapacity) AdaptivePoolingAllocator.ChunkAllocator.allocate
(int initialCapacity, int maxCapacity) Allocate a buffer for a chunk.private AbstractByteBuf
AdaptivePoolingAllocator.AdaptiveByteBuf.rootParent()
final AbstractByteBuf
AbstractPooledDerivedByteBuf.unwrap()
UnpooledDuplicatedByteBuf.unwrap()
UnpooledSlicedByteBuf.unwrap()
Methods in io.netty.buffer with parameters of type AbstractByteBufModifier and TypeMethodDescriptionprotected abstract int
AbstractUnsafeSwappedByteBuf._getInt
(AbstractByteBuf wrapped, int index) protected int
UnsafeDirectSwappedByteBuf._getInt
(AbstractByteBuf wrapped, int index) protected int
UnsafeHeapSwappedByteBuf._getInt
(AbstractByteBuf wrapped, int index) protected abstract long
AbstractUnsafeSwappedByteBuf._getLong
(AbstractByteBuf wrapped, int index) protected long
UnsafeDirectSwappedByteBuf._getLong
(AbstractByteBuf wrapped, int index) protected long
UnsafeHeapSwappedByteBuf._getLong
(AbstractByteBuf wrapped, int index) protected abstract short
AbstractUnsafeSwappedByteBuf._getShort
(AbstractByteBuf wrapped, int index) protected short
UnsafeDirectSwappedByteBuf._getShort
(AbstractByteBuf wrapped, int index) protected short
UnsafeHeapSwappedByteBuf._getShort
(AbstractByteBuf wrapped, int index) protected abstract void
AbstractUnsafeSwappedByteBuf._setInt
(AbstractByteBuf wrapped, int index, int value) protected void
UnsafeDirectSwappedByteBuf._setInt
(AbstractByteBuf wrapped, int index, int value) protected void
UnsafeHeapSwappedByteBuf._setInt
(AbstractByteBuf wrapped, int index, int 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._setLong
(AbstractByteBuf wrapped, int index, long value) protected abstract void
AbstractUnsafeSwappedByteBuf._setShort
(AbstractByteBuf wrapped, int index, short value) protected void
UnsafeDirectSwappedByteBuf._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 int
ByteBufUtil.firstIndexOf
(AbstractByteBuf buffer, int fromIndex, int toIndex, byte value) This is using a SWAR (SIMD Within A Register) batch read technique to minimize bound-checks and improve memory usage while searching forvalue
.(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, ByteBuf dst, int dstIndex, int length) (package private) static void
UnsafeByteBufUtil.getBytes
(AbstractByteBuf buf, long addr, int index, OutputStream out, int length) (package private) static void
UnsafeByteBufUtil.getBytes
(AbstractByteBuf buf, long addr, int index, ByteBuffer dst) (package private) final <U extends AbstractPooledDerivedByteBuf>
UAbstractPooledDerivedByteBuf.init
(AbstractByteBuf unwrapped, ByteBuf wrapped, int readerIndex, int writerIndex, int maxCapacity) (package private) void
AdaptivePoolingAllocator.AdaptiveByteBuf.init
(AbstractByteBuf unwrapped, AdaptivePoolingAllocator.Chunk wrapped, int readerIndex, int writerIndex, int adjustment, int capacity, int maxCapacity) (package private) static int
ByteBufUtil.lastIndexOf
(AbstractByteBuf buffer, int fromIndex, int toIndex, byte value) private static int
ByteBufUtil.linearFirstIndexOf
(AbstractByteBuf buffer, int fromIndex, int toIndex, byte value) private static int
ByteBufUtil.linearLastIndexOf
(AbstractByteBuf buffer, int fromIndex, int toIndex, byte value) (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) private static int
ByteBufUtil.safeWriteUtf8
(AbstractByteBuf buffer, int writerIndex, CharSequence seq, int start, int end) (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, ByteBuf src, int srcIndex, int length) (package private) static int
UnsafeByteBufUtil.setBytes
(AbstractByteBuf buf, long addr, int index, InputStream in, int length) (package private) static void
UnsafeByteBufUtil.setBytes
(AbstractByteBuf buf, long addr, int index, ByteBuffer src) private static void
UnsafeByteBufUtil.setSingleBytes
(AbstractByteBuf buf, long addr, int index, ByteBuffer src, int length) private static int
ByteBufUtil.unrolledFirstIndexOf
(AbstractByteBuf buffer, int fromIndex, int byteCount, byte value) private static int
ByteBufUtil.unrolledLastIndexOf
(AbstractByteBuf buffer, int fromIndex, int byteCount, byte value) (package private) static int
ByteBufUtil.writeAscii
(AbstractByteBuf buffer, int writerIndex, CharSequence seq, int len) private static int
ByteBufUtil.writeAsciiCharSequence
(AbstractByteBuf buffer, int writerIndex, CharSequence seq, int len) (package private) static void
ByteBufUtil.writeAsciiString
(AbstractByteBuf buffer, int writerIndex, AsciiString seq, int start, int end) (package private) static int
ByteBufUtil.writeUtf8
(AbstractByteBuf buffer, int writerIndex, int reservedBytes, CharSequence seq, int len) (package private) static int
ByteBufUtil.writeUtf8
(AbstractByteBuf buffer, int writerIndex, int reservedBytes, CharSequence seq, int start, int end) Constructors in io.netty.buffer with parameters of type AbstractByteBufModifierConstructorDescription(package private)
(package private)
Chunk
(AbstractByteBuf delegate, AdaptivePoolingAllocator.Magazine magazine, boolean pooled) (package private)
PooledNonRetainedDuplicateByteBuf
(ByteBuf referenceCountDelegate, AbstractByteBuf buffer) (package private)
PooledNonRetainedSlicedByteBuf
(ByteBuf referenceCountDelegate, AbstractByteBuf buffer, int index, int length) (package private)
(package private)
UnpooledSlicedByteBuf
(AbstractByteBuf buffer, int index, int length) (package private)
(package private)