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 TypeClassDescriptionclassDeprecated.Do not use.(package private) classAbstract base class for derivedByteBufimplementations.private static final classprivate static final classclassAbstract base class forByteBufimplementations that count references.(package private) class(package private) static final class(package private) final class(package private) static final class(package private) static final classclassA virtual buffer which shows multiple buffers as a single merged buffer.classDeprecated.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 classclassDeprecated.Do not use.(package private) classRead-only ByteBuf which wraps a read-only ByteBuffer.private static final classprivate static final class(package private) final classRead-only ByteBuf which wraps a read-only direct ByteBuffer and use unsafe for best performance.(package private) classclassDeprecated.Do not use.private static final classprivate static final classprivate static final classprivate static final classprivate static final classclassA NIOByteBufferbased buffer.(package private) classDuplicatedByteBufimplementation that can do optimizations because it knows the duplicated buffer is of typeAbstractByteBuf.classBig endian Java heap buffer implementation.(package private) classA specialAbstractUnpooledSlicedByteBufthat can make optimizations because it knows the sliced buffer is of typeAbstractByteBuf.classA NIOByteBufferbased buffer.classBig endian Java heap buffer implementation.(package private) class(package private) class(package private) final classFields in io.netty.buffer declared as AbstractByteBufModifier and TypeFieldDescriptionprotected final AbstractByteBufAdaptivePoolingAllocator.Chunk.delegateprivate AbstractByteBufAbstractPooledDerivedByteBuf.rootParentprivate AbstractByteBufAdaptivePoolingAllocator.AdaptiveByteBuf.rootParentprivate final AbstractByteBufAbstractUnsafeSwappedByteBuf.wrappedMethods 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 AbstractByteBufAdaptivePoolingAllocator.AdaptiveByteBuf.rootParent()final AbstractByteBufAbstractPooledDerivedByteBuf.unwrap()UnpooledDuplicatedByteBuf.unwrap()UnpooledSlicedByteBuf.unwrap()Methods in io.netty.buffer with parameters of type AbstractByteBufModifier and TypeMethodDescriptionprotected abstract intAbstractUnsafeSwappedByteBuf._getInt(AbstractByteBuf wrapped, int index) protected intUnsafeDirectSwappedByteBuf._getInt(AbstractByteBuf wrapped, int index) protected intUnsafeHeapSwappedByteBuf._getInt(AbstractByteBuf wrapped, int index) protected abstract longAbstractUnsafeSwappedByteBuf._getLong(AbstractByteBuf wrapped, int index) protected longUnsafeDirectSwappedByteBuf._getLong(AbstractByteBuf wrapped, int index) protected longUnsafeHeapSwappedByteBuf._getLong(AbstractByteBuf wrapped, int index) protected abstract shortAbstractUnsafeSwappedByteBuf._getShort(AbstractByteBuf wrapped, int index) protected shortUnsafeDirectSwappedByteBuf._getShort(AbstractByteBuf wrapped, int index) protected shortUnsafeHeapSwappedByteBuf._getShort(AbstractByteBuf wrapped, int index) protected abstract voidAbstractUnsafeSwappedByteBuf._setInt(AbstractByteBuf wrapped, int index, int value) protected voidUnsafeDirectSwappedByteBuf._setInt(AbstractByteBuf wrapped, int index, int value) protected voidUnsafeHeapSwappedByteBuf._setInt(AbstractByteBuf wrapped, int index, int value) protected abstract voidAbstractUnsafeSwappedByteBuf._setLong(AbstractByteBuf wrapped, int index, long value) protected voidUnsafeDirectSwappedByteBuf._setLong(AbstractByteBuf wrapped, int index, long value) protected voidUnsafeHeapSwappedByteBuf._setLong(AbstractByteBuf wrapped, int index, long value) protected abstract voidAbstractUnsafeSwappedByteBuf._setShort(AbstractByteBuf wrapped, int index, short value) protected voidUnsafeDirectSwappedByteBuf._setShort(AbstractByteBuf wrapped, int index, short value) protected voidUnsafeHeapSwappedByteBuf._setShort(AbstractByteBuf wrapped, int index, short value) private static longUnsafeDirectSwappedByteBuf.addr(AbstractByteBuf wrapped, int index) (package private) static ByteBufUnsafeByteBufUtil.copy(AbstractByteBuf buf, long addr, int index, int length) (package private) static intByteBufUtil.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 voidUnsafeByteBufUtil.getBytes(AbstractByteBuf buf, long addr, int index, byte[] dst, int dstIndex, int length) (package private) static voidUnsafeByteBufUtil.getBytes(AbstractByteBuf buf, long addr, int index, ByteBuf dst, int dstIndex, int length) (package private) static voidUnsafeByteBufUtil.getBytes(AbstractByteBuf buf, long addr, int index, OutputStream out, int length) (package private) static voidUnsafeByteBufUtil.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) voidAdaptivePoolingAllocator.AdaptiveByteBuf.init(AbstractByteBuf unwrapped, AdaptivePoolingAllocator.Chunk wrapped, int readerIndex, int writerIndex, int startIndex, int size, int capacity, int maxCapacity) (package private) static intByteBufUtil.lastIndexOf(AbstractByteBuf buffer, int fromIndex, int toIndex, byte value) private static intByteBufUtil.linearFirstIndexOf(AbstractByteBuf buffer, int fromIndex, int toIndex, byte value) private static intByteBufUtil.linearLastIndexOf(AbstractByteBuf buffer, int fromIndex, int toIndex, byte value) (package private) static PooledDuplicatedByteBufPooledDuplicatedByteBuf.newInstance(AbstractByteBuf unwrapped, ByteBuf wrapped, int readerIndex, int writerIndex) (package private) static PooledSlicedByteBufPooledSlicedByteBuf.newInstance(AbstractByteBuf unwrapped, ByteBuf wrapped, int index, int length) private static PooledSlicedByteBufPooledSlicedByteBuf.newInstance0(AbstractByteBuf unwrapped, ByteBuf wrapped, int adjustment, int length) private static intByteBufUtil.safeWriteUtf8(AbstractByteBuf buffer, int writerIndex, CharSequence seq, int start, int end) (package private) static voidUnsafeByteBufUtil.setBytes(AbstractByteBuf buf, long addr, int index, byte[] src, int srcIndex, int length) (package private) static voidUnsafeByteBufUtil.setBytes(AbstractByteBuf buf, long addr, int index, ByteBuf src, int srcIndex, int length) (package private) static intUnsafeByteBufUtil.setBytes(AbstractByteBuf buf, long addr, int index, InputStream in, int length) (package private) static voidUnsafeByteBufUtil.setBytes(AbstractByteBuf buf, long addr, int index, ByteBuffer src) private static voidUnsafeByteBufUtil.setSingleBytes(AbstractByteBuf buf, long addr, int index, ByteBuffer src, int length) private static intByteBufUtil.unrolledFirstIndexOf(AbstractByteBuf buffer, int fromIndex, int byteCount, byte value) private static intByteBufUtil.unrolledLastIndexOf(AbstractByteBuf buffer, int fromIndex, int byteCount, byte value) (package private) static intByteBufUtil.writeAscii(AbstractByteBuf buffer, int writerIndex, CharSequence seq, int len) private static intByteBufUtil.writeAsciiCharSequence(AbstractByteBuf buffer, int writerIndex, CharSequence seq, int len) (package private) static voidByteBufUtil.writeAsciiString(AbstractByteBuf buffer, int writerIndex, AsciiString seq, int start, int end) (package private) static intByteBufUtil.writeUtf8(AbstractByteBuf buffer, int writerIndex, int reservedBytes, CharSequence seq, int len) (package private) static intByteBufUtil.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)BuddyChunk(AbstractByteBuf delegate, AdaptivePoolingAllocator.Magazine magazine) (package private)Chunk(AbstractByteBuf delegate, AdaptivePoolingAllocator.Magazine magazine) (package private)PooledNonRetainedDuplicateByteBuf(ByteBuf referenceCountDelegate, AbstractByteBuf buffer) (package private)PooledNonRetainedSlicedByteBuf(ByteBuf referenceCountDelegate, AbstractByteBuf buffer, int index, int length) (package private)SizeClassedChunk(AbstractByteBuf delegate, AdaptivePoolingAllocator.Magazine magazine, AdaptivePoolingAllocator.SizeClassChunkController controller) (package private)(package private)UnpooledSlicedByteBuf(AbstractByteBuf buffer, int index, int length) (package private)(package private)