Uses of Class
io.netty.buffer.ByteBuf
-
Packages that use ByteBuf Package Description io.netty.buffer Abstraction of a byte buffer - the fundamental data structure to represent a low-level binary and text message.io.netty.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty.channel.epoll Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.io.netty.channel.kqueue BSD specific transport.io.netty.channel.nio NIO-based channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.oio Old blocking I/O based channel API implementation - recommended for a small number of connections (< 1000).io.netty.channel.sctp Abstract SCTP socket interfaces which extend the core channel API.io.netty.channel.socket Abstract TCP and UDP socket interfaces which extend the core channel API.io.netty.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.socket.oio Old blocking I/O based socket channel API implementation - recommended for a small number of connections (< 1000).io.netty.channel.unix Unix specific transport.io.netty.handler.codec Extensible decoder and its common implementations which deal with the packet fragmentation and reassembly issue found in a stream-based transport such as TCP/IP.io.netty.handler.codec.base64 io.netty.handler.codec.bytes Encoder and decoder which transform an array of bytes into aByteBufand vice versa.io.netty.handler.codec.compression io.netty.handler.codec.dns DNS codec.io.netty.handler.codec.haproxy Decodes an HAProxy proxy protocol headerio.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty.handler.codec.http.multipart HTTP multipart support.io.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty.handler.codec.http.websocketx.extensions.compression Encoder, decoder, handshakers to handle most common WebSocket Compression Extensions.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty.handler.codec.json JSON specific codecs.io.netty.handler.codec.memcache Common superset of ascii and binary classes.io.netty.handler.codec.memcache.binary Implementations and Interfaces for the Memcache Binary protocol.io.netty.handler.codec.mqtt Encoder, decoder and different Message Types for MQTT.io.netty.handler.codec.redis Encoder, decoder for Redis.io.netty.handler.codec.rtsp An RTSP extension based on the HTTP codec.io.netty.handler.codec.sctp Decoder and encoders to manage message completion and multi-streaming codec in SCTP/IP.io.netty.handler.codec.serialization Encoder, decoder and their compatibility stream implementations which transform aSerializableobject into a byte buffer and vice versa.io.netty.handler.codec.smtp SMTP codec.io.netty.handler.codec.socks Encoder, decoder and their related message types for Socks.io.netty.handler.codec.socksx Encoder, decoder and their related message types for SOCKS protocol.io.netty.handler.codec.socksx.v4 Encoder, decoder and their related message types for SOCKSv4 protocol.io.netty.handler.codec.socksx.v5 Encoder, decoder and their related message types for SOCKSv5 protocol.io.netty.handler.codec.spdy Encoder, decoder, session handler and their related message types for the SPDY protocol.io.netty.handler.codec.stomp STOMP codecio.netty.handler.codec.string Encoder and decoder which transform aStringinto aByteBufand vice versa.io.netty.handler.codec.xml Xml specific codecs.io.netty.handler.logging Logs the I/O events for debugging purpose.io.netty.handler.pcap Capture data and write into Pcap format which helps in troubleshooting.io.netty.handler.ssl SSL · TLS implementation based onSSLEngineio.netty.handler.ssl.ocsp OCSP stapling, formally known as the TLS Certificate Status Request extension, is an alternative approach to the Online Certificate Status Protocol (OCSP) for checking the revocation status of X.509 digital certificates.io.netty.handler.stream Writes very large data stream asynchronously neither spending a lot of memory nor gettingOutOfMemoryError.io.netty.resolver.dns An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously, which supports the queries of an arbitrary DNS record type as well. -
-
Uses of ByteBuf in io.netty.buffer
Subclasses of ByteBuf in io.netty.buffer Modifier and Type Class Description classAbstractByteBufA skeletal implementation of a buffer.classAbstractDerivedByteBufDeprecated.Do not use.(package private) classAbstractPooledDerivedByteBufAbstract base class for derivedByteBufimplementations.private static classAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBufprivate static classAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBufclassAbstractReferenceCountedByteBufAbstract base class forByteBufimplementations that count references.(package private) classAbstractUnpooledSlicedByteBuf(package private) classAbstractUnsafeSwappedByteBufSpecialSwappedByteBufforByteBufs that is using unsafe.(package private) static classAdaptivePoolingAllocator.AdaptiveByteBuf(package private) classAdvancedLeakAwareByteBuf(package private) classAdvancedLeakAwareCompositeByteBuf(package private) static classByteBufUtil.ThreadLocalDirectByteBuf(package private) static classByteBufUtil.ThreadLocalUnsafeDirectByteBufclassCompositeByteBufA virtual buffer which shows multiple buffers as a single merged buffer.classDuplicatedByteBufDeprecated.Do not use.classEmptyByteBufAn emptyByteBufwhose capacity and maximum capacity are all0.(package private) classFixedCompositeByteBufprivate static classFixedCompositeByteBuf.Component(package private) classPooledByteBuf<T>(package private) classPooledDirectByteBuf(package private) classPooledDuplicatedByteBuf(package private) classPooledHeapByteBuf(package private) classPooledSlicedByteBuf(package private) classPooledUnsafeDirectByteBuf(package private) classPooledUnsafeHeapByteBufclassReadOnlyByteBufDeprecated.Do not use.(package private) classReadOnlyByteBufferBufRead-only ByteBuf which wraps a read-only ByteBuffer.private static classReadOnlyByteBufferBuf.ReadOnlyDuplicatedByteBufprivate static classReadOnlyByteBufferBuf.ReadOnlySlicedByteBuf(package private) classReadOnlyUnsafeDirectByteBufRead-only ByteBuf which wraps a read-only direct ByteBuffer and use unsafe for best performance.(package private) classSimpleLeakAwareByteBuf(package private) classSimpleLeakAwareCompositeByteBufclassSlicedByteBufDeprecated.Do not use.classSwappedByteBufDeprecated.use the Little Endian accessors, e.g.private static classUnpooledByteBufAllocator.InstrumentedUnpooledDirectByteBufprivate static classUnpooledByteBufAllocator.InstrumentedUnpooledHeapByteBufprivate static classUnpooledByteBufAllocator.InstrumentedUnpooledUnsafeDirectByteBufprivate static classUnpooledByteBufAllocator.InstrumentedUnpooledUnsafeHeapByteBufprivate static classUnpooledByteBufAllocator.InstrumentedUnpooledUnsafeNoCleanerDirectByteBufclassUnpooledDirectByteBufA NIOByteBufferbased buffer.(package private) classUnpooledDuplicatedByteBufDuplicatedByteBufimplementation that can do optimizations because it knows the duplicated buffer is of typeAbstractByteBuf.classUnpooledHeapByteBufBig endian Java heap buffer implementation.(package private) classUnpooledSlicedByteBufA specialAbstractUnpooledSlicedByteBufthat can make optimizations because it knows the sliced buffer is of typeAbstractByteBuf.classUnpooledUnsafeDirectByteBufA NIOByteBufferbased buffer.classUnpooledUnsafeHeapByteBufBig endian Java heap buffer implementation.(package private) classUnpooledUnsafeNoCleanerDirectByteBuf(package private) classUnreleasableByteBufAByteBufimplementation that wraps another buffer to prevent a user from increasing or decreasing the wrapped buffer's reference count.(package private) classUnsafeDirectSwappedByteBuf(package private) classUnsafeHeapSwappedByteBufSpecialSwappedByteBufforByteBufs that use unsafe to access the byte array.(package private) classWrappedByteBufWraps anotherByteBuf.(package private) classWrappedCompositeByteBuf(package private) classWrappedUnpooledUnsafeDirectByteBufFields in io.netty.buffer declared as ByteBuf Modifier and Type Field Description (package private) ByteBufCompositeByteBuf.Component. bufprivate ByteBufSwappedByteBuf. bufDeprecated.protected ByteBufWrappedByteBuf. bufprivate ByteBufAbstractUnpooledSlicedByteBuf. bufferprivate ByteBufByteBufInputStream. bufferprivate ByteBufByteBufOutputStream. bufferprivate ByteBufDuplicatedByteBuf. bufferDeprecated.private ByteBufReadOnlyByteBuf. bufferDeprecated.private ByteBuf[]FixedCompositeByteBuf. buffersprivate ByteBufDefaultByteBufHolder. dataprivate static ByteBuf[]FixedCompositeByteBuf. EMPTYstatic ByteBufUnpooled. EMPTY_BUFFERA buffer whose capacity is0.private ByteBufAbstractByteBufAllocator. emptyBufprivate ByteBufAbstractPooledDerivedByteBuf. parentDeallocations of a pooled derived buffer should always propagate through the entire chain of derived buffers.private ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf. referenceCountDelegateprivate ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf. referenceCountDelegateprivate ByteBufCompositeByteBuf.Component. slice(package private) ByteBufCompositeByteBuf.Component. srcBufprivate ByteBufSimpleLeakAwareByteBuf. trackedByteBufThis object's is associated with theResourceLeakTracker.Fields in io.netty.buffer with type parameters of type ByteBuf Modifier and Type Field Description private static java.util.Iterator<ByteBuf>CompositeByteBuf. EMPTY_ITERATOR(package private) ResourceLeakTracker<ByteBuf>SimpleLeakAwareByteBuf. leak(package private) ResourceLeakTracker<ByteBuf>SimpleLeakAwareCompositeByteBuf. leak(package private) static ResourceLeakDetector<ByteBuf>AbstractByteBuf. leakDetectorMethods in io.netty.buffer that return ByteBuf Modifier and Type Method Description ByteBufAdaptiveByteBufAllocator.AdaptiveAllocatorApi. allocate(int initialCapacity, int maxCapacity)ByteBufAdaptivePoolingAllocator. allocate(int size, int maxCapacity)private ByteBufCompositeByteBuf. allocBuffer(int capacity)ByteBufByteBuf. asByteBuf()AByteBufcan turn into itself.ByteBufByteBufConvertible. asByteBuf()Turn this object into aByteBuf.ByteBufAbstractByteBuf. asReadOnly()ByteBufAdvancedLeakAwareByteBuf. asReadOnly()ByteBufAdvancedLeakAwareCompositeByteBuf. asReadOnly()abstract ByteBufByteBuf. asReadOnly()Returns a read-only version of this buffer.ByteBufEmptyByteBuf. asReadOnly()ByteBufReadOnlyByteBuf. asReadOnly()Deprecated.ByteBufReadOnlyByteBufferBuf. asReadOnly()ByteBufReadOnlyByteBufferBuf.ReadOnlyDuplicatedByteBuf. asReadOnly()ByteBufReadOnlyByteBufferBuf.ReadOnlySlicedByteBuf. asReadOnly()ByteBufSimpleLeakAwareByteBuf. asReadOnly()ByteBufSimpleLeakAwareCompositeByteBuf. asReadOnly()ByteBufSwappedByteBuf. asReadOnly()Deprecated.ByteBufUnreleasableByteBuf. asReadOnly()ByteBufWrappedByteBuf. asReadOnly()ByteBufWrappedCompositeByteBuf. asReadOnly()ByteBufAbstractByteBufAllocator. buffer()ByteBufAbstractByteBufAllocator. buffer(int initialCapacity)ByteBufAbstractByteBufAllocator. buffer(int initialCapacity, int maxCapacity)ByteBufByteBufAllocator. buffer()Allocate aByteBuf.ByteBufByteBufAllocator. buffer(int initialCapacity)Allocate aByteBufwith the given initial capacity.ByteBufByteBufAllocator. buffer(int initialCapacity, int maxCapacity)Allocate aByteBufwith the given initial capacity and the given maximal capacity.ByteBufByteBufOutputStream. buffer()Returns the buffer where this stream is writing data.private ByteBufFixedCompositeByteBuf. buffer(int i)Return theByteBufstored at the given index of the array.static ByteBufUnpooled. buffer()Creates a new big-endian Java heap buffer with reasonably small initial capacity, which expands its capacity boundlessly on demand.static ByteBufUnpooled. buffer(int initialCapacity)Creates a new big-endian Java heap buffer with the specifiedcapacity, which expands its capacity boundlessly on demand.static ByteBufUnpooled. buffer(int initialCapacity, int maxCapacity)Creates a new big-endian Java heap buffer with the specifiedinitialCapacity, that may grow up tomaxCapacityThe new buffer'sreaderIndexandwriterIndexare0.ByteBufAbstractUnpooledSlicedByteBuf. capacity(int newCapacity)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. capacity(int newCapacity)ByteBufAdvancedLeakAwareByteBuf. capacity(int newCapacity)abstract ByteBufByteBuf. capacity(int newCapacity)Adjusts the capacity of this buffer.ByteBufDuplicatedByteBuf. capacity(int newCapacity)Deprecated.ByteBufEmptyByteBuf. capacity(int newCapacity)ByteBufFixedCompositeByteBuf. capacity(int newCapacity)ByteBufPooledByteBuf. capacity(int newCapacity)ByteBufPooledDuplicatedByteBuf. capacity(int newCapacity)ByteBufPooledSlicedByteBuf. capacity(int newCapacity)ByteBufReadOnlyByteBuf. capacity(int newCapacity)Deprecated.ByteBufReadOnlyByteBufferBuf. capacity(int newCapacity)ByteBufSwappedByteBuf. capacity(int newCapacity)Deprecated.ByteBufUnpooledDirectByteBuf. capacity(int newCapacity)ByteBufUnpooledHeapByteBuf. capacity(int newCapacity)ByteBufUnpooledUnsafeNoCleanerDirectByteBuf. capacity(int newCapacity)ByteBufWrappedByteBuf. capacity(int newCapacity)private ByteBufEmptyByteBuf. checkIndex(int index)private ByteBufEmptyByteBuf. checkIndex(int index, int length)private ByteBufEmptyByteBuf. checkLength(int length)ByteBufAbstractByteBuf. clear()abstract ByteBufByteBuf. clear()Sets thereaderIndexandwriterIndexof this buffer to0.ByteBufEmptyByteBuf. clear()ByteBufSwappedByteBuf. clear()Deprecated.ByteBufWrappedByteBuf. clear()ByteBufCompositeByteBuf. component(int cIndex)Return theByteBufon the specified indexByteBufWrappedCompositeByteBuf. component(int cIndex)ByteBufCompositeByteBuf. componentAtOffset(int offset)Return theByteBufon the specified indexByteBufWrappedCompositeByteBuf. componentAtOffset(int offset)ByteBufByteBufHolder. content()Return the data which is held by thisByteBufHolder.ByteBufDefaultByteBufHolder. content()static ByteBufUnpooled. copiedBuffer(byte[] array)Creates a new big-endian buffer whose content is a copy of the specifiedarray.static ByteBufUnpooled. copiedBuffer(byte[]... arrays)Creates a new big-endian buffer whose content is a merged copy of the specifiedarrays.static ByteBufUnpooled. copiedBuffer(byte[] array, int offset, int length)Creates a new big-endian buffer whose content is a copy of the specifiedarray's sub-region.static ByteBufUnpooled. copiedBuffer(char[] array, int offset, int length, java.nio.charset.Charset charset)Creates a new big-endian buffer whose content is a subregion of the specifiedarrayencoded in the specifiedcharset.static ByteBufUnpooled. copiedBuffer(char[] array, java.nio.charset.Charset charset)Creates a new big-endian buffer whose content is the specifiedarrayencoded in the specifiedcharset.static ByteBufUnpooled. copiedBuffer(ByteBuf buffer)Creates a new buffer whose content is a copy of the specifiedbuffer's readable bytes.static ByteBufUnpooled. copiedBuffer(ByteBuf... buffers)Creates a new buffer whose content is a merged copy of the specifiedbuffers' readable bytes.static ByteBufUnpooled. copiedBuffer(java.lang.CharSequence string, int offset, int length, java.nio.charset.Charset charset)Creates a new big-endian buffer whose content is a subregion of the specifiedstringencoded in the specifiedcharset.static ByteBufUnpooled. copiedBuffer(java.lang.CharSequence string, java.nio.charset.Charset charset)Creates a new big-endian buffer whose content is the specifiedstringencoded in the specifiedcharset.static ByteBufUnpooled. copiedBuffer(java.nio.ByteBuffer buffer)Creates a new buffer whose content is a copy of the specifiedbuffer's current slice.static ByteBufUnpooled. copiedBuffer(java.nio.ByteBuffer... buffers)Creates a new buffer whose content is a merged copy of the specifiedbuffers' slices.private static ByteBufUnpooled. copiedBuffer(java.nio.CharBuffer buffer, java.nio.charset.Charset charset)private static ByteBufUnpooled. copiedBufferAscii(java.lang.CharSequence string)private static ByteBufUnpooled. copiedBufferUtf8(java.lang.CharSequence string)ByteBufAbstractByteBuf. copy()ByteBufAbstractUnpooledSlicedByteBuf. copy(int index, int length)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. copy(int index, int length)ByteBufAdvancedLeakAwareByteBuf. copy()ByteBufAdvancedLeakAwareByteBuf. copy(int index, int length)ByteBufAdvancedLeakAwareCompositeByteBuf. copy()ByteBufAdvancedLeakAwareCompositeByteBuf. copy(int index, int length)abstract ByteBufByteBuf. copy()Returns a copy of this buffer's readable bytes.abstract ByteBufByteBuf. copy(int index, int length)Returns a copy of this buffer's sub-region.ByteBufCompositeByteBuf. copy(int index, int length)ByteBufDuplicatedByteBuf. copy(int index, int length)Deprecated.ByteBufEmptyByteBuf. copy()ByteBufEmptyByteBuf. copy(int index, int length)ByteBufFixedCompositeByteBuf. copy(int index, int length)ByteBufPooledDirectByteBuf. copy(int index, int length)ByteBufPooledDuplicatedByteBuf. copy(int index, int length)ByteBufPooledHeapByteBuf. copy(int index, int length)ByteBufPooledSlicedByteBuf. copy(int index, int length)ByteBufPooledUnsafeDirectByteBuf. copy(int index, int length)ByteBufReadOnlyByteBuf. copy(int index, int length)Deprecated.ByteBufReadOnlyByteBufferBuf. copy(int index, int length)ByteBufReadOnlyUnsafeDirectByteBuf. copy(int index, int length)ByteBufSwappedByteBuf. copy()Deprecated.ByteBufSwappedByteBuf. copy(int index, int length)Deprecated.ByteBufUnpooledDirectByteBuf. copy(int index, int length)ByteBufUnpooledHeapByteBuf. copy(int index, int length)ByteBufUnpooledUnsafeDirectByteBuf. copy(int index, int length)(package private) static ByteBufUnsafeByteBufUtil. copy(AbstractByteBuf buf, long addr, int index, int length)ByteBufWrappedByteBuf. copy()ByteBufWrappedByteBuf. copy(int index, int length)ByteBufWrappedCompositeByteBuf. copy()ByteBufWrappedCompositeByteBuf. copy(int index, int length)static ByteBufUnpooled. copyBoolean(boolean value)Creates a new single-byte big-endian buffer that holds the specified boolean value.static ByteBufUnpooled. copyBoolean(boolean... values)Create a new big-endian buffer that holds a sequence of the specified boolean values.static ByteBufUnpooled. copyDouble(double value)Creates a new 8-byte big-endian buffer that holds the specified 64-bit floating point number.static ByteBufUnpooled. copyDouble(double... values)Create a new big-endian buffer that holds a sequence of the specified 64-bit floating point numbers.static ByteBufUnpooled. copyFloat(float value)Creates a new 4-byte big-endian buffer that holds the specified 32-bit floating point number.static ByteBufUnpooled. copyFloat(float... values)Create a new big-endian buffer that holds a sequence of the specified 32-bit floating point numbers.static ByteBufUnpooled. copyInt(int value)Creates a new 4-byte big-endian buffer that holds the specified 32-bit integer.static ByteBufUnpooled. copyInt(int... values)Create a big-endian buffer that holds a sequence of the specified 32-bit integers.static ByteBufUnpooled. copyLong(long value)Creates a new 8-byte big-endian buffer that holds the specified 64-bit integer.static ByteBufUnpooled. copyLong(long... values)Create a new big-endian buffer that holds a sequence of the specified 64-bit integers.static ByteBufUnpooled. copyMedium(int value)Creates a new 3-byte big-endian buffer that holds the specified 24-bit integer.static ByteBufUnpooled. copyMedium(int... values)Create a new big-endian buffer that holds a sequence of the specified 24-bit integers.static ByteBufUnpooled. copyShort(int value)Creates a new 2-byte big-endian buffer that holds the specified 16-bit integer.static ByteBufUnpooled. copyShort(int... values)Create a new big-endian buffer that holds a sequence of the specified 16-bit integers.static ByteBufUnpooled. copyShort(short... values)Create a new big-endian buffer that holds a sequence of the specified 16-bit integers.ByteBufAbstractByteBufAllocator. directBuffer()ByteBufAbstractByteBufAllocator. directBuffer(int initialCapacity)ByteBufAbstractByteBufAllocator. directBuffer(int initialCapacity, int maxCapacity)ByteBufByteBufAllocator. directBuffer()Allocate a directByteBuf.ByteBufByteBufAllocator. directBuffer(int initialCapacity)Allocate a directByteBufwith the given initial capacity.ByteBufByteBufAllocator. directBuffer(int initialCapacity, int maxCapacity)Allocate a directByteBufwith the given initial capacity and the given maximal capacity.static ByteBufUnpooled. directBuffer()Creates a new big-endian direct buffer with reasonably small initial capacity, which expands its capacity boundlessly on demand.static ByteBufUnpooled. directBuffer(int initialCapacity)Creates a new big-endian direct buffer with the specifiedcapacity, which expands its capacity boundlessly on demand.static ByteBufUnpooled. directBuffer(int initialCapacity, int maxCapacity)Creates a new big-endian direct buffer with the specifiedinitialCapacity, that may grow up tomaxCapacity.ByteBufAbstractByteBuf. discardReadBytes()ByteBufAdvancedLeakAwareByteBuf. discardReadBytes()abstract ByteBufByteBuf. discardReadBytes()Discards the bytes between the 0th index andreaderIndex.ByteBufEmptyByteBuf. discardReadBytes()ByteBufFixedCompositeByteBuf. discardReadBytes()ByteBufReadOnlyByteBuf. discardReadBytes()Deprecated.ByteBufSwappedByteBuf. discardReadBytes()Deprecated.ByteBufWrappedByteBuf. discardReadBytes()ByteBufAbstractByteBuf. discardSomeReadBytes()ByteBufAdvancedLeakAwareByteBuf. discardSomeReadBytes()abstract ByteBufByteBuf. discardSomeReadBytes()Similar todiscardReadBytes()except that this method might discard some, all, or none of read bytes depending on its internal implementation to reduce overall memory bandwidth consumption at the cost of potentially additional memory consumption.ByteBufEmptyByteBuf. discardSomeReadBytes()ByteBufSwappedByteBuf. discardSomeReadBytes()Deprecated.ByteBufWrappedByteBuf. discardSomeReadBytes()ByteBufAbstractByteBuf. duplicate()ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf. duplicate()ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf. duplicate()ByteBufAbstractUnpooledSlicedByteBuf. duplicate()ByteBufAdvancedLeakAwareByteBuf. duplicate()ByteBufAdvancedLeakAwareCompositeByteBuf. duplicate()abstract ByteBufByteBuf. duplicate()Returns a buffer which shares the whole region of this buffer.(package private) ByteBufCompositeByteBuf.Component. duplicate()ByteBufEmptyByteBuf. duplicate()ByteBufPooledDuplicatedByteBuf. duplicate()ByteBufPooledSlicedByteBuf. duplicate()ByteBufReadOnlyByteBuf. duplicate()Deprecated.ByteBufReadOnlyByteBufferBuf. duplicate()ByteBufReadOnlyByteBufferBuf.ReadOnlyDuplicatedByteBuf. duplicate()ByteBufReadOnlyByteBufferBuf.ReadOnlySlicedByteBuf. duplicate()ByteBufSimpleLeakAwareByteBuf. duplicate()ByteBufSimpleLeakAwareCompositeByteBuf. duplicate()ByteBufSwappedByteBuf. duplicate()Deprecated.ByteBufUnreleasableByteBuf. duplicate()ByteBufWrappedByteBuf. duplicate()ByteBufWrappedCompositeByteBuf. duplicate()(package private) ByteBufAbstractPooledDerivedByteBuf. duplicate0()static ByteBufByteBufUtil. encodeString(ByteBufAllocator alloc, java.nio.CharBuffer src, java.nio.charset.Charset charset)Encode the givenCharBufferusing the givenCharsetinto a newByteBufwhich is allocated via theByteBufAllocator.static ByteBufByteBufUtil. encodeString(ByteBufAllocator alloc, java.nio.CharBuffer src, java.nio.charset.Charset charset, int extraCapacity)Encode the givenCharBufferusing the givenCharsetinto a newByteBufwhich is allocated via theByteBufAllocator.(package private) static ByteBufByteBufUtil. encodeString0(ByteBufAllocator alloc, boolean enforceHeap, java.nio.CharBuffer src, java.nio.charset.Charset charset, int extraCapacity)static ByteBufByteBufUtil. ensureAccessible(ByteBuf buffer)private static ByteBufCompositeByteBuf. ensureAccessible(ByteBuf buf)ByteBufAbstractByteBuf. ensureWritable(int minWritableBytes)ByteBufAdvancedLeakAwareByteBuf. ensureWritable(int minWritableBytes)abstract ByteBufByteBuf. ensureWritable(int minWritableBytes)Expands the buffercapacity()to make sure the number of writable bytes is equal to or greater than the specified value.ByteBufEmptyByteBuf. ensureWritable(int minWritableBytes)ByteBufReadOnlyByteBuf. ensureWritable(int minWritableBytes)Deprecated.ByteBufReadOnlyByteBufferBuf. ensureWritable(int minWritableBytes)ByteBufSwappedByteBuf. ensureWritable(int writableBytes)Deprecated.ByteBufWrappedByteBuf. ensureWritable(int minWritableBytes)ByteBufAbstractByteBuf. getBytes(int index, byte[] dst)ByteBufAbstractByteBuf. getBytes(int index, ByteBuf dst)ByteBufAbstractByteBuf. getBytes(int index, ByteBuf dst, int length)ByteBufAbstractUnpooledSlicedByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufAbstractUnpooledSlicedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufAbstractUnpooledSlicedByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufAbstractUnpooledSlicedByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufAdvancedLeakAwareByteBuf. getBytes(int index, byte[] dst)ByteBufAdvancedLeakAwareByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufAdvancedLeakAwareByteBuf. getBytes(int index, ByteBuf dst)ByteBufAdvancedLeakAwareByteBuf. getBytes(int index, ByteBuf dst, int length)ByteBufAdvancedLeakAwareByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufAdvancedLeakAwareByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufAdvancedLeakAwareByteBuf. getBytes(int index, java.nio.ByteBuffer dst)abstract ByteBufByteBuf. getBytes(int index, byte[] dst)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.abstract ByteBufByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.abstract ByteBufByteBuf. getBytes(int index, ByteBuf dst)Transfers this buffer's data to the specified destination starting at the specified absoluteindexuntil the destination becomes non-writable.abstract ByteBufByteBuf. getBytes(int index, ByteBuf dst, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.abstract ByteBufByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.abstract ByteBufByteBuf. getBytes(int index, java.io.OutputStream out, int length)Transfers this buffer's data to the specified stream starting at the specified absoluteindex.abstract ByteBufByteBuf. getBytes(int index, java.nio.ByteBuffer dst)Transfers this buffer's data to the specified destination starting at the specified absoluteindexuntil the destination's position reaches its limit.ByteBufDuplicatedByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)Deprecated.ByteBufDuplicatedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)Deprecated.ByteBufDuplicatedByteBuf. getBytes(int index, java.io.OutputStream out, int length)Deprecated.ByteBufDuplicatedByteBuf. getBytes(int index, java.nio.ByteBuffer dst)Deprecated.ByteBufEmptyByteBuf. getBytes(int index, byte[] dst)ByteBufEmptyByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufEmptyByteBuf. getBytes(int index, ByteBuf dst)ByteBufEmptyByteBuf. getBytes(int index, ByteBuf dst, int length)ByteBufEmptyByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufEmptyByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufEmptyByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufFixedCompositeByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufFixedCompositeByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufFixedCompositeByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufFixedCompositeByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufPooledDirectByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufPooledDirectByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufPooledDirectByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufPooledDirectByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufPooledDuplicatedByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufPooledDuplicatedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufPooledDuplicatedByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufPooledDuplicatedByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufPooledHeapByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufPooledHeapByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufPooledHeapByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufPooledHeapByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufPooledSlicedByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufPooledSlicedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufPooledSlicedByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufPooledSlicedByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufPooledUnsafeDirectByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufPooledUnsafeDirectByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufPooledUnsafeDirectByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufPooledUnsafeDirectByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufReadOnlyByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)Deprecated.ByteBufReadOnlyByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)Deprecated.ByteBufReadOnlyByteBuf. getBytes(int index, java.io.OutputStream out, int length)Deprecated.ByteBufReadOnlyByteBuf. getBytes(int index, java.nio.ByteBuffer dst)Deprecated.ByteBufReadOnlyByteBufferBuf. getBytes(int index, byte[] dst, int dstIndex, int length)protected ByteBufReadOnlyByteBufferBuf. getBytes(int index, byte[] dst, int dstIndex, int length, boolean internal)ByteBufReadOnlyByteBufferBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)protected ByteBufReadOnlyByteBufferBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length, boolean internal)ByteBufReadOnlyByteBufferBuf. getBytes(int index, java.io.OutputStream out, int length)private ByteBufReadOnlyByteBufferBuf. getBytes(int index, java.io.OutputStream out, int length, boolean internal)ByteBufReadOnlyByteBufferBuf. getBytes(int index, java.nio.ByteBuffer dst)private ByteBufReadOnlyByteBufferBuf. getBytes(int index, java.nio.ByteBuffer dst, boolean internal)protected ByteBufReadOnlyUnsafeDirectByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length, boolean internal)protected ByteBufReadOnlyUnsafeDirectByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length, boolean internal)ByteBufSwappedByteBuf. getBytes(int index, byte[] dst)Deprecated.ByteBufSwappedByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)Deprecated.ByteBufSwappedByteBuf. getBytes(int index, ByteBuf dst)Deprecated.ByteBufSwappedByteBuf. getBytes(int index, ByteBuf dst, int length)Deprecated.ByteBufSwappedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)Deprecated.ByteBufSwappedByteBuf. getBytes(int index, java.io.OutputStream out, int length)Deprecated.ByteBufSwappedByteBuf. getBytes(int index, java.nio.ByteBuffer dst)Deprecated.ByteBufUnpooledDirectByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufUnpooledDirectByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufUnpooledDirectByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufUnpooledDirectByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufUnpooledHeapByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufUnpooledHeapByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufUnpooledHeapByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufUnpooledHeapByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufUnpooledUnsafeDirectByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufWrappedByteBuf. getBytes(int index, byte[] dst)ByteBufWrappedByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufWrappedByteBuf. getBytes(int index, ByteBuf dst)ByteBufWrappedByteBuf. getBytes(int index, ByteBuf dst, int length)ByteBufWrappedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufWrappedByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufWrappedByteBuf. getBytes(int index, java.nio.ByteBuffer dst)ByteBufAbstractByteBufAllocator. heapBuffer()ByteBufAbstractByteBufAllocator. heapBuffer(int initialCapacity)ByteBufAbstractByteBufAllocator. heapBuffer(int initialCapacity, int maxCapacity)ByteBufByteBufAllocator. heapBuffer()Allocate a heapByteBuf.ByteBufByteBufAllocator. heapBuffer(int initialCapacity)Allocate a heapByteBufwith the given initial capacity.ByteBufByteBufAllocator. heapBuffer(int initialCapacity, int maxCapacity)Allocate a heapByteBufwith the given initial capacity and the given maximal capacity.ByteBufCompositeByteBuf. internalComponent(int cIndex)Return the internalByteBufon the specified index.ByteBufWrappedCompositeByteBuf. internalComponent(int cIndex)ByteBufCompositeByteBuf. internalComponentAtOffset(int offset)Return the internalByteBufon the specified offset.ByteBufWrappedCompositeByteBuf. internalComponentAtOffset(int offset)ByteBufAbstractByteBufAllocator. ioBuffer()ByteBufAbstractByteBufAllocator. ioBuffer(int initialCapacity)ByteBufAbstractByteBufAllocator. ioBuffer(int initialCapacity, int maxCapacity)ByteBufByteBufAllocator. ioBuffer()Allocate aByteBuf, preferably a direct buffer which is suitable for I/O.ByteBufByteBufAllocator. ioBuffer(int initialCapacity)Allocate aByteBuf, preferably a direct buffer which is suitable for I/O.ByteBufByteBufAllocator. ioBuffer(int initialCapacity, int maxCapacity)Allocate aByteBuf, preferably a direct buffer which is suitable for I/O.ByteBufAbstractByteBuf. markReaderIndex()abstract ByteBufByteBuf. markReaderIndex()Marks the currentreaderIndexin this buffer.ByteBufEmptyByteBuf. markReaderIndex()ByteBufSwappedByteBuf. markReaderIndex()Deprecated.ByteBufWrappedByteBuf. markReaderIndex()ByteBufAbstractByteBuf. markWriterIndex()abstract ByteBufByteBuf. markWriterIndex()Marks the currentwriterIndexin this buffer.ByteBufEmptyByteBuf. markWriterIndex()ByteBufSwappedByteBuf. markWriterIndex()Deprecated.ByteBufWrappedByteBuf. markWriterIndex()protected abstract ByteBufAbstractByteBufAllocator. newDirectBuffer(int initialCapacity, int maxCapacity)Create a directByteBufwith the given initialCapacity and maxCapacity.protected ByteBufAdaptiveByteBufAllocator. newDirectBuffer(int initialCapacity, int maxCapacity)protected ByteBufPooledByteBufAllocator. newDirectBuffer(int initialCapacity, int maxCapacity)protected ByteBufUnpooledByteBufAllocator. newDirectBuffer(int initialCapacity, int maxCapacity)protected abstract ByteBufAbstractByteBufAllocator. newHeapBuffer(int initialCapacity, int maxCapacity)Create a heapByteBufwith the given initialCapacity and maxCapacity.protected ByteBufAdaptiveByteBufAllocator. newHeapBuffer(int initialCapacity, int maxCapacity)protected ByteBufPooledByteBufAllocator. newHeapBuffer(int initialCapacity, int maxCapacity)protected ByteBufUnpooledByteBufAllocator. newHeapBuffer(int initialCapacity, int maxCapacity)ByteBufCompositeByteBuf.CompositeByteBufIterator. next()ByteBufAbstractByteBuf. order(java.nio.ByteOrder endianness)ByteBufAdvancedLeakAwareByteBuf. order(java.nio.ByteOrder endianness)ByteBufAdvancedLeakAwareCompositeByteBuf. order(java.nio.ByteOrder endianness)abstract ByteBufByteBuf. order(java.nio.ByteOrder endianness)Deprecated.use the Little Endian accessors, e.g.ByteBufEmptyByteBuf. order(java.nio.ByteOrder endianness)ByteBufSimpleLeakAwareByteBuf. order(java.nio.ByteOrder endianness)ByteBufSimpleLeakAwareCompositeByteBuf. order(java.nio.ByteOrder endianness)ByteBufSwappedByteBuf. order(java.nio.ByteOrder endianness)Deprecated.ByteBufUnreleasableByteBuf. order(java.nio.ByteOrder endianness)ByteBufWrappedByteBuf. order(java.nio.ByteOrder endianness)ByteBufWrappedCompositeByteBuf. order(java.nio.ByteOrder endianness)ByteBufAbstractByteBuf. readBytes(byte[] dst)ByteBufAbstractByteBuf. readBytes(byte[] dst, int dstIndex, int length)ByteBufAbstractByteBuf. readBytes(int length)ByteBufAbstractByteBuf. readBytes(ByteBuf dst)ByteBufAbstractByteBuf. readBytes(ByteBuf dst, int length)ByteBufAbstractByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufAbstractByteBuf. readBytes(java.io.OutputStream out, int length)ByteBufAbstractByteBuf. readBytes(java.nio.ByteBuffer dst)ByteBufAdvancedLeakAwareByteBuf. readBytes(byte[] dst)ByteBufAdvancedLeakAwareByteBuf. readBytes(byte[] dst, int dstIndex, int length)ByteBufAdvancedLeakAwareByteBuf. readBytes(int length)ByteBufAdvancedLeakAwareByteBuf. readBytes(ByteBuf dst)ByteBufAdvancedLeakAwareByteBuf. readBytes(ByteBuf dst, int length)ByteBufAdvancedLeakAwareByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufAdvancedLeakAwareByteBuf. readBytes(java.io.OutputStream out, int length)ByteBufAdvancedLeakAwareByteBuf. readBytes(java.nio.ByteBuffer dst)ByteBufAdvancedLeakAwareCompositeByteBuf. readBytes(int length)abstract ByteBufByteBuf. readBytes(byte[] dst)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=dst.length).abstract ByteBufByteBuf. readBytes(byte[] dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).abstract ByteBufByteBuf. readBytes(int length)Transfers this buffer's data to a newly created buffer starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).abstract ByteBufByteBuf. readBytes(ByteBuf dst)Transfers this buffer's data to the specified destination starting at the currentreaderIndexuntil the destination becomes non-writable, and increases thereaderIndexby the number of the transferred bytes.abstract ByteBufByteBuf. readBytes(ByteBuf dst, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).abstract ByteBufByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).abstract ByteBufByteBuf. readBytes(java.io.OutputStream out, int length)Transfers this buffer's data to the specified stream starting at the currentreaderIndex.abstract ByteBufByteBuf. readBytes(java.nio.ByteBuffer dst)Transfers this buffer's data to the specified destination starting at the currentreaderIndexuntil the destination's position reaches its limit, and increases thereaderIndexby the number of the transferred bytes.static ByteBufByteBufUtil. readBytes(ByteBufAllocator alloc, ByteBuf buffer, int length)Read the given amount of bytes into a newByteBufthat is allocated from theByteBufAllocator.ByteBufEmptyByteBuf. readBytes(byte[] dst)ByteBufEmptyByteBuf. readBytes(byte[] dst, int dstIndex, int length)ByteBufEmptyByteBuf. readBytes(int length)ByteBufEmptyByteBuf. readBytes(ByteBuf dst)ByteBufEmptyByteBuf. readBytes(ByteBuf dst, int length)ByteBufEmptyByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufEmptyByteBuf. readBytes(java.io.OutputStream out, int length)ByteBufEmptyByteBuf. readBytes(java.nio.ByteBuffer dst)ByteBufPooledDirectByteBuf. readBytes(byte[] dst, int dstIndex, int length)ByteBufPooledDirectByteBuf. readBytes(java.io.OutputStream out, int length)ByteBufPooledDirectByteBuf. readBytes(java.nio.ByteBuffer dst)ByteBufReadOnlyByteBufferBuf. readBytes(byte[] dst, int dstIndex, int length)ByteBufReadOnlyByteBufferBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufReadOnlyByteBufferBuf. readBytes(java.io.OutputStream out, int length)ByteBufReadOnlyByteBufferBuf. readBytes(java.nio.ByteBuffer dst)ByteBufSwappedByteBuf. readBytes(byte[] dst)Deprecated.ByteBufSwappedByteBuf. readBytes(byte[] dst, int dstIndex, int length)Deprecated.ByteBufSwappedByteBuf. readBytes(int length)Deprecated.ByteBufSwappedByteBuf. readBytes(ByteBuf dst)Deprecated.ByteBufSwappedByteBuf. readBytes(ByteBuf dst, int length)Deprecated.ByteBufSwappedByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)Deprecated.ByteBufSwappedByteBuf. readBytes(java.io.OutputStream out, int length)Deprecated.ByteBufSwappedByteBuf. readBytes(java.nio.ByteBuffer dst)Deprecated.ByteBufUnpooledDirectByteBuf. readBytes(byte[] dst, int dstIndex, int length)ByteBufUnpooledDirectByteBuf. readBytes(java.io.OutputStream out, int length)ByteBufUnpooledDirectByteBuf. readBytes(java.nio.ByteBuffer dst)ByteBufWrappedByteBuf. readBytes(byte[] dst)ByteBufWrappedByteBuf. readBytes(byte[] dst, int dstIndex, int length)ByteBufWrappedByteBuf. readBytes(int length)ByteBufWrappedByteBuf. readBytes(ByteBuf dst)ByteBufWrappedByteBuf. readBytes(ByteBuf dst, int length)ByteBufWrappedByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufWrappedByteBuf. readBytes(java.io.OutputStream out, int length)ByteBufWrappedByteBuf. readBytes(java.nio.ByteBuffer dst)ByteBufWrappedCompositeByteBuf. readBytes(int length)ByteBufAbstractByteBuf. readerIndex(int readerIndex)abstract ByteBufByteBuf. readerIndex(int readerIndex)Sets thereaderIndexof this buffer.ByteBufEmptyByteBuf. readerIndex(int readerIndex)ByteBufSwappedByteBuf. readerIndex(int readerIndex)Deprecated.ByteBufWrappedByteBuf. readerIndex(int readerIndex)ByteBufAbstractByteBuf. readRetainedSlice(int length)ByteBufAdvancedLeakAwareByteBuf. readRetainedSlice(int length)ByteBufAdvancedLeakAwareCompositeByteBuf. readRetainedSlice(int length)abstract ByteBufByteBuf. readRetainedSlice(int length)Returns a new retained slice of this buffer's sub-region starting at the currentreaderIndexand increases thereaderIndexby the size of the new slice (=length).ByteBufEmptyByteBuf. readRetainedSlice(int length)ByteBufSimpleLeakAwareByteBuf. readRetainedSlice(int length)ByteBufSimpleLeakAwareCompositeByteBuf. readRetainedSlice(int length)ByteBufSwappedByteBuf. readRetainedSlice(int length)Deprecated.ByteBufUnreleasableByteBuf. readRetainedSlice(int length)ByteBufWrappedByteBuf. readRetainedSlice(int length)ByteBufWrappedCompositeByteBuf. readRetainedSlice(int length)ByteBufAbstractByteBuf. readSlice(int length)ByteBufAdvancedLeakAwareByteBuf. readSlice(int length)ByteBufAdvancedLeakAwareCompositeByteBuf. readSlice(int length)abstract ByteBufByteBuf. readSlice(int length)Returns a new slice of this buffer's sub-region starting at the currentreaderIndexand increases thereaderIndexby the size of the new slice (=length).ByteBufEmptyByteBuf. readSlice(int length)ByteBufSimpleLeakAwareByteBuf. readSlice(int length)ByteBufSimpleLeakAwareCompositeByteBuf. readSlice(int length)ByteBufSwappedByteBuf. readSlice(int length)Deprecated.ByteBufUnreleasableByteBuf. readSlice(int length)ByteBufWrappedByteBuf. readSlice(int length)ByteBufWrappedCompositeByteBuf. readSlice(int length)ByteBufAbstractByteBuf. resetReaderIndex()abstract ByteBufByteBuf. resetReaderIndex()Repositions the currentreaderIndexto the markedreaderIndexin this buffer.ByteBufEmptyByteBuf. resetReaderIndex()ByteBufSwappedByteBuf. resetReaderIndex()Deprecated.ByteBufWrappedByteBuf. resetReaderIndex()ByteBufAbstractByteBuf. resetWriterIndex()abstract ByteBufByteBuf. resetWriterIndex()Repositions the currentwriterIndexto the markedwriterIndexin this buffer.ByteBufEmptyByteBuf. resetWriterIndex()ByteBufSwappedByteBuf. resetWriterIndex()Deprecated.ByteBufWrappedByteBuf. resetWriterIndex()ByteBufAbstractDerivedByteBuf. retain()Deprecated.ByteBufAbstractDerivedByteBuf. retain(int increment)Deprecated.ByteBufAbstractReferenceCountedByteBuf. retain()ByteBufAbstractReferenceCountedByteBuf. retain(int increment)ByteBufAdvancedLeakAwareByteBuf. retain()ByteBufAdvancedLeakAwareByteBuf. retain(int increment)abstract ByteBufByteBuf. retain()abstract ByteBufByteBuf. retain(int increment)ByteBufEmptyByteBuf. retain()ByteBufEmptyByteBuf. retain(int increment)ByteBufSwappedByteBuf. retain()Deprecated.ByteBufSwappedByteBuf. retain(int increment)Deprecated.ByteBufUnreleasableByteBuf. retain()ByteBufUnreleasableByteBuf. retain(int increment)ByteBufWrappedByteBuf. retain()ByteBufWrappedByteBuf. retain(int increment)(package private) ByteBufAbstractDerivedByteBuf. retain0()Deprecated.(package private) ByteBufAbstractDerivedByteBuf. retain0(int increment)Deprecated.(package private) ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf. retain0()(package private) ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf. retain0(int increment)(package private) ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf. retain0()(package private) ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf. retain0(int increment)ByteBufAbstractByteBuf. retainedDuplicate()ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf. retainedDuplicate()ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf. retainedDuplicate()ByteBufAbstractUnpooledSlicedByteBuf. retainedDuplicate()ByteBufAdvancedLeakAwareByteBuf. retainedDuplicate()ByteBufAdvancedLeakAwareCompositeByteBuf. retainedDuplicate()abstract ByteBufByteBuf. retainedDuplicate()Returns a retained buffer which shares the whole region of this buffer.ByteBufEmptyByteBuf. retainedDuplicate()ByteBufPooledByteBuf. retainedDuplicate()ByteBufPooledDuplicatedByteBuf. retainedDuplicate()ByteBufPooledSlicedByteBuf. retainedDuplicate()ByteBufSimpleLeakAwareByteBuf. retainedDuplicate()ByteBufSimpleLeakAwareCompositeByteBuf. retainedDuplicate()ByteBufSwappedByteBuf. retainedDuplicate()Deprecated.ByteBufUnreleasableByteBuf. retainedDuplicate()ByteBufWrappedByteBuf. retainedDuplicate()ByteBufWrappedCompositeByteBuf. retainedDuplicate()ByteBufAbstractByteBuf. retainedSlice()ByteBufAbstractByteBuf. retainedSlice(int index, int length)ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf. retainedSlice()ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf. retainedSlice(int index, int length)ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf. retainedSlice()ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf. retainedSlice(int index, int length)ByteBufAbstractPooledDerivedByteBuf. retainedSlice()ByteBufAdvancedLeakAwareByteBuf. retainedSlice()ByteBufAdvancedLeakAwareByteBuf. retainedSlice(int index, int length)ByteBufAdvancedLeakAwareCompositeByteBuf. retainedSlice()ByteBufAdvancedLeakAwareCompositeByteBuf. retainedSlice(int index, int length)abstract ByteBufByteBuf. retainedSlice()Returns a retained slice of this buffer's readable bytes.abstract ByteBufByteBuf. retainedSlice(int index, int length)Returns a retained slice of this buffer's sub-region.ByteBufEmptyByteBuf. retainedSlice()ByteBufEmptyByteBuf. retainedSlice(int index, int length)ByteBufPooledByteBuf. retainedSlice()ByteBufPooledByteBuf. retainedSlice(int index, int length)ByteBufPooledDuplicatedByteBuf. retainedSlice(int index, int length)ByteBufPooledSlicedByteBuf. retainedSlice(int index, int length)ByteBufSimpleLeakAwareByteBuf. retainedSlice()ByteBufSimpleLeakAwareByteBuf. retainedSlice(int index, int length)ByteBufSimpleLeakAwareCompositeByteBuf. retainedSlice()ByteBufSimpleLeakAwareCompositeByteBuf. retainedSlice(int index, int length)ByteBufSwappedByteBuf. retainedSlice()Deprecated.ByteBufSwappedByteBuf. retainedSlice(int index, int length)Deprecated.ByteBufUnreleasableByteBuf. retainedSlice()ByteBufUnreleasableByteBuf. retainedSlice(int index, int length)ByteBufWrappedByteBuf. retainedSlice()ByteBufWrappedByteBuf. retainedSlice(int index, int length)ByteBufWrappedCompositeByteBuf. retainedSlice()ByteBufWrappedCompositeByteBuf. retainedSlice(int index, int length)ByteBufAbstractByteBuf. setBoolean(int index, boolean value)ByteBufAdvancedLeakAwareByteBuf. setBoolean(int index, boolean value)abstract ByteBufByteBuf. setBoolean(int index, boolean value)Sets the specified boolean at the specified absoluteindexin this buffer.ByteBufEmptyByteBuf. setBoolean(int index, boolean value)ByteBufSwappedByteBuf. setBoolean(int index, boolean value)Deprecated.ByteBufWrappedByteBuf. setBoolean(int index, boolean value)ByteBufAbstractByteBuf. setByte(int index, int value)ByteBufAbstractUnpooledSlicedByteBuf. setByte(int index, int value)ByteBufAdvancedLeakAwareByteBuf. setByte(int index, int value)abstract ByteBufByteBuf. setByte(int index, int value)Sets the specified byte at the specified absoluteindexin this buffer.ByteBufDuplicatedByteBuf. setByte(int index, int value)Deprecated.ByteBufEmptyByteBuf. setByte(int index, int value)ByteBufFixedCompositeByteBuf. setByte(int index, int value)ByteBufPooledDuplicatedByteBuf. setByte(int index, int value)ByteBufPooledSlicedByteBuf. setByte(int index, int value)ByteBufReadOnlyByteBuf. setByte(int index, int value)Deprecated.ByteBufReadOnlyByteBufferBuf. setByte(int index, int value)ByteBufSwappedByteBuf. setByte(int index, int value)Deprecated.ByteBufUnpooledDirectByteBuf. setByte(int index, int value)ByteBufUnpooledHeapByteBuf. setByte(int index, int value)ByteBufUnpooledUnsafeDirectByteBuf. setByte(int index, int value)ByteBufUnpooledUnsafeHeapByteBuf. setByte(int index, int value)ByteBufWrappedByteBuf. setByte(int index, int value)ByteBufAbstractByteBuf. setBytes(int index, byte[] src)ByteBufAbstractByteBuf. setBytes(int index, ByteBuf src)ByteBufAbstractByteBuf. setBytes(int index, ByteBuf src, int length)ByteBufAbstractUnpooledSlicedByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufAbstractUnpooledSlicedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufAbstractUnpooledSlicedByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufAdvancedLeakAwareByteBuf. setBytes(int index, byte[] src)ByteBufAdvancedLeakAwareByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufAdvancedLeakAwareByteBuf. setBytes(int index, ByteBuf src)ByteBufAdvancedLeakAwareByteBuf. setBytes(int index, ByteBuf src, int length)ByteBufAdvancedLeakAwareByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufAdvancedLeakAwareByteBuf. setBytes(int index, java.nio.ByteBuffer src)abstract ByteBufByteBuf. setBytes(int index, byte[] src)Transfers the specified source array's data to this buffer starting at the specified absoluteindex.abstract ByteBufByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)Transfers the specified source array's data to this buffer starting at the specified absoluteindex.abstract ByteBufByteBuf. setBytes(int index, ByteBuf src)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindexuntil the source buffer becomes unreadable.abstract ByteBufByteBuf. setBytes(int index, ByteBuf src, int length)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex.abstract ByteBufByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex.abstract ByteBufByteBuf. setBytes(int index, java.nio.ByteBuffer src)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindexuntil the source buffer's position reaches its limit.ByteBufDuplicatedByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)Deprecated.ByteBufDuplicatedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)Deprecated.ByteBufDuplicatedByteBuf. setBytes(int index, java.nio.ByteBuffer src)Deprecated.ByteBufEmptyByteBuf. setBytes(int index, byte[] src)ByteBufEmptyByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufEmptyByteBuf. setBytes(int index, ByteBuf src)ByteBufEmptyByteBuf. setBytes(int index, ByteBuf src, int length)ByteBufEmptyByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufEmptyByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufFixedCompositeByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufFixedCompositeByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufFixedCompositeByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufPooledDirectByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufPooledDirectByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufPooledDirectByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufPooledDuplicatedByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufPooledDuplicatedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufPooledDuplicatedByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufPooledHeapByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufPooledHeapByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufPooledHeapByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufPooledSlicedByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufPooledSlicedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufPooledSlicedByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufPooledUnsafeDirectByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufPooledUnsafeDirectByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufPooledUnsafeDirectByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufReadOnlyByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)Deprecated.ByteBufReadOnlyByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)Deprecated.ByteBufReadOnlyByteBuf. setBytes(int index, java.nio.ByteBuffer src)Deprecated.ByteBufReadOnlyByteBufferBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufReadOnlyByteBufferBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufReadOnlyByteBufferBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufSwappedByteBuf. setBytes(int index, byte[] src)Deprecated.ByteBufSwappedByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)Deprecated.ByteBufSwappedByteBuf. setBytes(int index, ByteBuf src)Deprecated.ByteBufSwappedByteBuf. setBytes(int index, ByteBuf src, int length)Deprecated.ByteBufSwappedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)Deprecated.ByteBufSwappedByteBuf. setBytes(int index, java.nio.ByteBuffer src)Deprecated.ByteBufUnpooledDirectByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufUnpooledDirectByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufUnpooledDirectByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufUnpooledHeapByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufUnpooledHeapByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufUnpooledHeapByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufUnpooledUnsafeDirectByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufUnpooledUnsafeDirectByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufUnpooledUnsafeDirectByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufWrappedByteBuf. setBytes(int index, byte[] src)ByteBufWrappedByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufWrappedByteBuf. setBytes(int index, ByteBuf src)ByteBufWrappedByteBuf. setBytes(int index, ByteBuf src, int length)ByteBufWrappedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufWrappedByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufAbstractByteBuf. setChar(int index, int value)ByteBufAbstractUnsafeSwappedByteBuf. setChar(int index, int value)ByteBufAdvancedLeakAwareByteBuf. setChar(int index, int value)abstract ByteBufByteBuf. setChar(int index, int value)Sets the specified 2-byte UTF-16 character at the specified absoluteindexin this buffer.ByteBufEmptyByteBuf. setChar(int index, int value)ByteBufSwappedByteBuf. setChar(int index, int value)Deprecated.ByteBufWrappedByteBuf. setChar(int index, int value)ByteBufAbstractByteBuf. setDouble(int index, double value)ByteBufAbstractUnsafeSwappedByteBuf. setDouble(int index, double value)ByteBufAdvancedLeakAwareByteBuf. setDouble(int index, double value)abstract ByteBufByteBuf. setDouble(int index, double value)Sets the specified 64-bit floating-point number at the specified absoluteindexin this buffer.ByteBufEmptyByteBuf. setDouble(int index, double value)ByteBufSwappedByteBuf. setDouble(int index, double value)Deprecated.ByteBufWrappedByteBuf. setDouble(int index, double value)ByteBufByteBuf. setDoubleLE(int index, double value)Sets the specified 64-bit floating-point number at the specified absoluteindexin this buffer in Little Endian Byte Order.ByteBufAbstractByteBuf. setFloat(int index, float value)ByteBufAbstractUnsafeSwappedByteBuf. setFloat(int index, float value)ByteBufAdvancedLeakAwareByteBuf. setFloat(int index, float value)abstract ByteBufByteBuf. setFloat(int index, float value)Sets the specified 32-bit floating-point number at the specified absoluteindexin this buffer.ByteBufEmptyByteBuf. setFloat(int index, float value)ByteBufSwappedByteBuf. setFloat(int index, float value)Deprecated.ByteBufWrappedByteBuf. setFloat(int index, float value)ByteBufByteBuf. setFloatLE(int index, float value)Sets the specified 32-bit floating-point number at the specified absoluteindexin this buffer in Little Endian Byte Order.ByteBufAbstractByteBuf. setIndex(int readerIndex, int writerIndex)abstract ByteBufByteBuf. setIndex(int readerIndex, int writerIndex)Sets thereaderIndexandwriterIndexof this buffer in one shot.ByteBufEmptyByteBuf. setIndex(int readerIndex, int writerIndex)ByteBufSwappedByteBuf. setIndex(int readerIndex, int writerIndex)Deprecated.ByteBufWrappedByteBuf. setIndex(int readerIndex, int writerIndex)ByteBufAbstractByteBuf. setInt(int index, int value)ByteBufAbstractUnpooledSlicedByteBuf. setInt(int index, int value)ByteBufAbstractUnsafeSwappedByteBuf. setInt(int index, int value)ByteBufAdvancedLeakAwareByteBuf. setInt(int index, int value)abstract ByteBufByteBuf. setInt(int index, int value)Sets the specified 32-bit integer at the specified absoluteindexin this buffer.ByteBufDuplicatedByteBuf. setInt(int index, int value)Deprecated.ByteBufEmptyByteBuf. setInt(int index, int value)ByteBufFixedCompositeByteBuf. setInt(int index, int value)ByteBufPooledDuplicatedByteBuf. setInt(int index, int value)ByteBufPooledSlicedByteBuf. setInt(int index, int value)ByteBufReadOnlyByteBuf. setInt(int index, int value)Deprecated.ByteBufReadOnlyByteBufferBuf. setInt(int index, int value)ByteBufSwappedByteBuf. setInt(int index, int value)Deprecated.ByteBufUnpooledDirectByteBuf. setInt(int index, int value)ByteBufUnpooledHeapByteBuf. setInt(int index, int value)ByteBufUnpooledUnsafeDirectByteBuf. setInt(int index, int value)ByteBufUnpooledUnsafeHeapByteBuf. setInt(int index, int value)ByteBufWrappedByteBuf. setInt(int index, int value)ByteBufAbstractByteBuf. setIntLE(int index, int value)ByteBufAbstractUnpooledSlicedByteBuf. setIntLE(int index, int value)ByteBufAdvancedLeakAwareByteBuf. setIntLE(int index, int value)ByteBufAdvancedLeakAwareCompositeByteBuf. setIntLE(int index, int value)abstract ByteBufByteBuf. setIntLE(int index, int value)Sets the specified 32-bit integer at the specified absoluteindexin this buffer with Little Endian byte order .ByteBufDuplicatedByteBuf. setIntLE(int index, int value)Deprecated.ByteBufEmptyByteBuf. setIntLE(int index, int value)ByteBufPooledDuplicatedByteBuf. setIntLE(int index, int value)ByteBufPooledSlicedByteBuf. setIntLE(int index, int value)ByteBufReadOnlyByteBuf. setIntLE(int index, int value)Deprecated.ByteBufReadOnlyByteBufferBuf. setIntLE(int index, int value)ByteBufSwappedByteBuf. setIntLE(int index, int value)Deprecated.ByteBufUnpooledHeapByteBuf. setIntLE(int index, int value)ByteBufUnpooledUnsafeHeapByteBuf. setIntLE(int index, int value)ByteBufWrappedByteBuf. setIntLE(int index, int value)ByteBufWrappedCompositeByteBuf. setIntLE(int index, int value)ByteBufAbstractByteBuf. setLong(int index, long value)ByteBufAbstractUnpooledSlicedByteBuf. setLong(int index, long value)ByteBufAbstractUnsafeSwappedByteBuf. setLong(int index, long value)ByteBufAdvancedLeakAwareByteBuf. setLong(int index, long value)abstract ByteBufByteBuf. setLong(int index, long value)Sets the specified 64-bit long integer at the specified absoluteindexin this buffer.ByteBufDuplicatedByteBuf. setLong(int index, long value)Deprecated.ByteBufEmptyByteBuf. setLong(int index, long value)ByteBufFixedCompositeByteBuf. setLong(int index, long value)ByteBufPooledDuplicatedByteBuf. setLong(int index, long value)ByteBufPooledSlicedByteBuf. setLong(int index, long value)ByteBufReadOnlyByteBuf. setLong(int index, long value)Deprecated.ByteBufReadOnlyByteBufferBuf. setLong(int index, long value)ByteBufSwappedByteBuf. setLong(int index, long value)Deprecated.ByteBufUnpooledDirectByteBuf. setLong(int index, long value)ByteBufUnpooledHeapByteBuf. setLong(int index, long value)ByteBufUnpooledUnsafeDirectByteBuf. setLong(int index, long value)ByteBufUnpooledUnsafeHeapByteBuf. setLong(int index, long value)ByteBufWrappedByteBuf. setLong(int index, long value)ByteBufAbstractByteBuf. setLongLE(int index, long value)ByteBufAbstractUnpooledSlicedByteBuf. setLongLE(int index, long value)ByteBufAdvancedLeakAwareByteBuf. setLongLE(int index, long value)ByteBufAdvancedLeakAwareCompositeByteBuf. setLongLE(int index, long value)abstract ByteBufByteBuf. setLongLE(int index, long value)Sets the specified 64-bit long integer at the specified absoluteindexin this buffer in Little Endian Byte Order.ByteBufDuplicatedByteBuf. setLongLE(int index, long value)Deprecated.ByteBufEmptyByteBuf. setLongLE(int index, long value)ByteBufPooledDuplicatedByteBuf. setLongLE(int index, long value)ByteBufPooledSlicedByteBuf. setLongLE(int index, long value)ByteBufReadOnlyByteBuf. setLongLE(int index, long value)Deprecated.ByteBufReadOnlyByteBufferBuf. setLongLE(int index, long value)ByteBufSwappedByteBuf. setLongLE(int index, long value)Deprecated.ByteBufUnpooledHeapByteBuf. setLongLE(int index, long value)ByteBufUnpooledUnsafeHeapByteBuf. setLongLE(int index, long value)ByteBufWrappedByteBuf. setLongLE(int index, long value)ByteBufWrappedCompositeByteBuf. setLongLE(int index, long value)ByteBufAbstractByteBuf. setMedium(int index, int value)ByteBufAbstractUnpooledSlicedByteBuf. setMedium(int index, int value)ByteBufAdvancedLeakAwareByteBuf. setMedium(int index, int value)abstract ByteBufByteBuf. setMedium(int index, int value)Sets the specified 24-bit medium integer at the specified absoluteindexin this buffer.ByteBufDuplicatedByteBuf. setMedium(int index, int value)Deprecated.ByteBufEmptyByteBuf. setMedium(int index, int value)ByteBufFixedCompositeByteBuf. setMedium(int index, int value)ByteBufPooledDuplicatedByteBuf. setMedium(int index, int value)ByteBufPooledSlicedByteBuf. setMedium(int index, int value)ByteBufReadOnlyByteBuf. setMedium(int index, int value)Deprecated.ByteBufReadOnlyByteBufferBuf. setMedium(int index, int value)ByteBufSwappedByteBuf. setMedium(int index, int value)Deprecated.ByteBufUnpooledDirectByteBuf. setMedium(int index, int value)ByteBufUnpooledHeapByteBuf. setMedium(int index, int value)ByteBufUnpooledUnsafeDirectByteBuf. setMedium(int index, int value)ByteBufUnpooledUnsafeHeapByteBuf. setMedium(int index, int value)ByteBufWrappedByteBuf. setMedium(int index, int value)ByteBufAbstractByteBuf. setMediumLE(int index, int value)ByteBufAbstractUnpooledSlicedByteBuf. setMediumLE(int index, int value)ByteBufAdvancedLeakAwareByteBuf. setMediumLE(int index, int value)ByteBufAdvancedLeakAwareCompositeByteBuf. setMediumLE(int index, int value)abstract ByteBufByteBuf. setMediumLE(int index, int value)Sets the specified 24-bit medium integer at the specified absoluteindexin this buffer in the Little Endian Byte Order.ByteBufDuplicatedByteBuf. setMediumLE(int index, int value)Deprecated.ByteBufEmptyByteBuf. setMediumLE(int index, int value)ByteBufPooledDuplicatedByteBuf. setMediumLE(int index, int value)ByteBufPooledSlicedByteBuf. setMediumLE(int index, int value)ByteBufReadOnlyByteBuf. setMediumLE(int index, int value)Deprecated.ByteBufReadOnlyByteBufferBuf. setMediumLE(int index, int value)ByteBufSwappedByteBuf. setMediumLE(int index, int value)Deprecated.ByteBufUnpooledHeapByteBuf. setMediumLE(int index, int value)ByteBufUnpooledUnsafeHeapByteBuf. setMediumLE(int index, int value)ByteBufWrappedByteBuf. setMediumLE(int index, int value)ByteBufWrappedCompositeByteBuf. setMediumLE(int index, int value)ByteBufAbstractByteBuf. setShort(int index, int value)ByteBufAbstractUnpooledSlicedByteBuf. setShort(int index, int value)ByteBufAbstractUnsafeSwappedByteBuf. setShort(int index, int value)ByteBufAdvancedLeakAwareByteBuf. setShort(int index, int value)abstract ByteBufByteBuf. setShort(int index, int value)Sets the specified 16-bit short integer at the specified absoluteindexin this buffer.ByteBufDuplicatedByteBuf. setShort(int index, int value)Deprecated.ByteBufEmptyByteBuf. setShort(int index, int value)ByteBufFixedCompositeByteBuf. setShort(int index, int value)ByteBufPooledDuplicatedByteBuf. setShort(int index, int value)ByteBufPooledSlicedByteBuf. setShort(int index, int value)ByteBufReadOnlyByteBuf. setShort(int index, int value)Deprecated.ByteBufReadOnlyByteBufferBuf. setShort(int index, int value)ByteBufSwappedByteBuf. setShort(int index, int value)Deprecated.ByteBufUnpooledDirectByteBuf. setShort(int index, int value)ByteBufUnpooledHeapByteBuf. setShort(int index, int value)ByteBufUnpooledUnsafeDirectByteBuf. setShort(int index, int value)ByteBufUnpooledUnsafeHeapByteBuf. setShort(int index, int value)ByteBufWrappedByteBuf. setShort(int index, int value)static ByteBufByteBufUtil. setShortBE(ByteBuf buf, int index, int shortValue)Sets a big-endian 16-bit short integer to the buffer.ByteBufAbstractByteBuf. setShortLE(int index, int value)ByteBufAbstractUnpooledSlicedByteBuf. setShortLE(int index, int value)ByteBufAdvancedLeakAwareByteBuf. setShortLE(int index, int value)ByteBufAdvancedLeakAwareCompositeByteBuf. setShortLE(int index, int value)abstract ByteBufByteBuf. setShortLE(int index, int value)Sets the specified 16-bit short integer at the specified absoluteindexin this buffer with the Little Endian Byte Order.ByteBufDuplicatedByteBuf. setShortLE(int index, int value)Deprecated.ByteBufEmptyByteBuf. setShortLE(int index, int value)ByteBufPooledDuplicatedByteBuf. setShortLE(int index, int value)ByteBufPooledSlicedByteBuf. setShortLE(int index, int value)ByteBufReadOnlyByteBuf. setShortLE(int index, int value)Deprecated.ByteBufReadOnlyByteBufferBuf. setShortLE(int index, int value)ByteBufSwappedByteBuf. setShortLE(int index, int value)Deprecated.ByteBufUnpooledHeapByteBuf. setShortLE(int index, int value)ByteBufUnpooledUnsafeHeapByteBuf. setShortLE(int index, int value)ByteBufWrappedByteBuf. setShortLE(int index, int value)ByteBufWrappedCompositeByteBuf. setShortLE(int index, int value)ByteBufAbstractByteBuf. setZero(int index, int length)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. setZero(int index, int length)ByteBufAdvancedLeakAwareByteBuf. setZero(int index, int length)abstract ByteBufByteBuf. setZero(int index, int length)Fills this buffer with NUL (0x00) starting at the specified absoluteindex.ByteBufEmptyByteBuf. setZero(int index, int length)ByteBufPooledUnsafeDirectByteBuf. setZero(int index, int length)ByteBufPooledUnsafeHeapByteBuf. setZero(int index, int length)ByteBufSwappedByteBuf. setZero(int index, int length)Deprecated.ByteBufUnpooledUnsafeDirectByteBuf. setZero(int index, int length)ByteBufUnpooledUnsafeHeapByteBuf. setZero(int index, int length)ByteBufWrappedByteBuf. setZero(int index, int length)ByteBufAbstractByteBuf. skipBytes(int length)ByteBufAdvancedLeakAwareByteBuf. skipBytes(int length)abstract ByteBufByteBuf. skipBytes(int length)Increases the currentreaderIndexby the specifiedlengthin this buffer.ByteBufEmptyByteBuf. skipBytes(int length)ByteBufSwappedByteBuf. skipBytes(int length)Deprecated.ByteBufWrappedByteBuf. skipBytes(int length)ByteBufAbstractByteBuf. slice()ByteBufAbstractByteBuf. slice(int index, int length)ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf. slice(int index, int length)ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf. slice(int index, int length)ByteBufAbstractPooledDerivedByteBuf. slice(int index, int length)ByteBufAbstractUnpooledSlicedByteBuf. slice(int index, int length)ByteBufAdvancedLeakAwareByteBuf. slice()ByteBufAdvancedLeakAwareByteBuf. slice(int index, int length)ByteBufAdvancedLeakAwareCompositeByteBuf. slice()ByteBufAdvancedLeakAwareCompositeByteBuf. slice(int index, int length)abstract ByteBufByteBuf. slice()Returns a slice of this buffer's readable bytes.abstract ByteBufByteBuf. slice(int index, int length)Returns a slice of this buffer's sub-region.(package private) ByteBufCompositeByteBuf.Component. slice()ByteBufDuplicatedByteBuf. slice(int index, int length)Deprecated.ByteBufEmptyByteBuf. slice()ByteBufEmptyByteBuf. slice(int index, int length)ByteBufPooledSlicedByteBuf. slice(int index, int length)ByteBufReadOnlyByteBuf. slice(int index, int length)Deprecated.ByteBufReadOnlyByteBufferBuf.ReadOnlyDuplicatedByteBuf. slice(int index, int length)ByteBufReadOnlyByteBufferBuf.ReadOnlySlicedByteBuf. slice(int index, int length)ByteBufReadOnlyByteBufferBuf. slice(int index, int length)ByteBufSimpleLeakAwareByteBuf. slice()ByteBufSimpleLeakAwareByteBuf. slice(int index, int length)ByteBufSimpleLeakAwareCompositeByteBuf. slice()ByteBufSimpleLeakAwareCompositeByteBuf. slice(int index, int length)ByteBufSwappedByteBuf. slice()Deprecated.ByteBufSwappedByteBuf. slice(int index, int length)Deprecated.ByteBufUnreleasableByteBuf. slice()ByteBufUnreleasableByteBuf. slice(int index, int length)ByteBufWrappedByteBuf. slice()ByteBufWrappedByteBuf. slice(int index, int length)ByteBufWrappedCompositeByteBuf. slice()ByteBufWrappedCompositeByteBuf. slice(int index, int length)static ByteBufByteBufUtil. threadLocalDirectBuffer()Returns a cached thread-local direct buffer, if available.protected static ByteBufAbstractByteBufAllocator. toLeakAwareBuffer(ByteBuf buf)ByteBufAbstractDerivedByteBuf. touch()Deprecated.ByteBufAbstractDerivedByteBuf. touch(java.lang.Object hint)Deprecated.ByteBufAbstractReferenceCountedByteBuf. touch()ByteBufAbstractReferenceCountedByteBuf. touch(java.lang.Object hint)ByteBufAdvancedLeakAwareByteBuf. touch()ByteBufAdvancedLeakAwareByteBuf. touch(java.lang.Object hint)abstract ByteBufByteBuf. touch()abstract ByteBufByteBuf. touch(java.lang.Object hint)ByteBufEmptyByteBuf. touch()ByteBufEmptyByteBuf. touch(java.lang.Object hint)ByteBufSimpleLeakAwareByteBuf. touch()ByteBufSimpleLeakAwareByteBuf. touch(java.lang.Object hint)ByteBufSwappedByteBuf. touch()Deprecated.ByteBufSwappedByteBuf. touch(java.lang.Object hint)Deprecated.ByteBufUnreleasableByteBuf. touch()ByteBufUnreleasableByteBuf. touch(java.lang.Object hint)ByteBufWrappedByteBuf. touch()ByteBufWrappedByteBuf. touch(java.lang.Object hint)(package private) ByteBufAbstractDerivedByteBuf. touch0()Deprecated.(package private) ByteBufAbstractDerivedByteBuf. touch0(java.lang.Object hint)Deprecated.(package private) ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf. touch0()(package private) ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf. touch0(java.lang.Object hint)(package private) ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf. touch0()(package private) ByteBufAbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf. touch0(java.lang.Object hint)static ByteBufUnpooled. unmodifiableBuffer(ByteBuf buffer)Deprecated.UseasReadOnly().static ByteBufUnpooled. unmodifiableBuffer(ByteBuf... buffers)Deprecated.static ByteBufUnpooled. unreleasableBuffer(ByteBuf buf)Return a unreleasable view on the givenByteBufwhich will just ignore release and retain calls.ByteBufAbstractUnpooledSlicedByteBuf. unwrap()ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. unwrap()abstract ByteBufByteBuf. unwrap()Return the underlying buffer instance if this buffer is a wrapper of another buffer.ByteBufCompositeByteBuf. unwrap()ByteBufDuplicatedByteBuf. unwrap()Deprecated.ByteBufEmptyByteBuf. unwrap()ByteBufFixedCompositeByteBuf. unwrap()ByteBufPooledByteBuf. unwrap()ByteBufReadOnlyByteBuf. unwrap()Deprecated.ByteBufReadOnlyByteBufferBuf. unwrap()ByteBufSwappedByteBuf. unwrap()Deprecated.ByteBufUnpooledDirectByteBuf. unwrap()ByteBufUnpooledHeapByteBuf. unwrap()ByteBufWrappedByteBuf. unwrap()ByteBufWrappedCompositeByteBuf. unwrap()private ByteBufSimpleLeakAwareByteBuf. unwrappedDerived(ByteBuf derived)private static ByteBufSimpleLeakAwareByteBuf. unwrapSwapped(ByteBuf buf)ByteBufCompositeByteBuf.ByteWrapper. wrap(T bytes)static ByteBufUnpooled. wrappedBuffer(byte[] array)Creates a new big-endian buffer which wraps the specifiedarray.static ByteBufUnpooled. wrappedBuffer(byte[]... arrays)Creates a new big-endian composite buffer which wraps the specified arrays without copying them.static ByteBufUnpooled. wrappedBuffer(byte[] array, int offset, int length)Creates a new big-endian buffer which wraps the sub-region of the specifiedarray.static ByteBufUnpooled. wrappedBuffer(int maxNumComponents, byte[]... arrays)Creates a new big-endian composite buffer which wraps the specified arrays without copying them.static ByteBufUnpooled. wrappedBuffer(int maxNumComponents, ByteBuf... buffers)Creates a new big-endian composite buffer which wraps the readable bytes of the specified buffers without copying them.(package private) static <T> ByteBufUnpooled. wrappedBuffer(int maxNumComponents, CompositeByteBuf.ByteWrapper<T> wrapper, T[] array)static ByteBufUnpooled. wrappedBuffer(int maxNumComponents, java.nio.ByteBuffer... buffers)Creates a new big-endian composite buffer which wraps the slices of the specified NIO buffers without copying them.static ByteBufUnpooled. wrappedBuffer(long memoryAddress, int size, boolean doFree)Creates a new buffer which wraps the specified memory address.static ByteBufUnpooled. wrappedBuffer(ByteBuf buffer)Creates a new buffer which wraps the specified buffer's readable bytes.static ByteBufUnpooled. wrappedBuffer(ByteBuf... buffers)Creates a new big-endian composite buffer which wraps the readable bytes of the specified buffers without copying them.static ByteBufUnpooled. wrappedBuffer(java.nio.ByteBuffer buffer)Creates a new buffer which wraps the specified NIO buffer's current slice.static ByteBufUnpooled. wrappedBuffer(java.nio.ByteBuffer... buffers)Creates a new big-endian composite buffer which wraps the slices of the specified NIO buffers without copying them.private static ByteBufUnpooled. wrappedUnmodifiableBuffer(boolean copy, ByteBuf... buffers)static ByteBufUnpooled. wrappedUnmodifiableBuffer(ByteBuf... buffers)static ByteBufByteBufUtil. writeAscii(ByteBufAllocator alloc, java.lang.CharSequence seq)ByteBufAbstractByteBuf. writeBoolean(boolean value)ByteBufAdvancedLeakAwareByteBuf. writeBoolean(boolean value)abstract ByteBufByteBuf. writeBoolean(boolean value)Sets the specified boolean at the currentwriterIndexand increases thewriterIndexby1in this buffer.ByteBufEmptyByteBuf. writeBoolean(boolean value)ByteBufSwappedByteBuf. writeBoolean(boolean value)Deprecated.ByteBufWrappedByteBuf. writeBoolean(boolean value)ByteBufAbstractByteBuf. writeByte(int value)ByteBufAdvancedLeakAwareByteBuf. writeByte(int value)abstract ByteBufByteBuf. writeByte(int value)Sets the specified byte at the currentwriterIndexand increases thewriterIndexby1in this buffer.ByteBufEmptyByteBuf. writeByte(int value)ByteBufSwappedByteBuf. writeByte(int value)Deprecated.ByteBufWrappedByteBuf. writeByte(int value)ByteBufAbstractByteBuf. writeBytes(byte[] src)ByteBufAbstractByteBuf. writeBytes(byte[] src, int srcIndex, int length)ByteBufAbstractByteBuf. writeBytes(ByteBuf src)ByteBufAbstractByteBuf. writeBytes(ByteBuf src, int length)ByteBufAbstractByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)ByteBufAbstractByteBuf. writeBytes(java.nio.ByteBuffer src)ByteBufAdvancedLeakAwareByteBuf. writeBytes(byte[] src)ByteBufAdvancedLeakAwareByteBuf. writeBytes(byte[] src, int srcIndex, int length)ByteBufAdvancedLeakAwareByteBuf. writeBytes(ByteBuf src)ByteBufAdvancedLeakAwareByteBuf. writeBytes(ByteBuf src, int length)ByteBufAdvancedLeakAwareByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)ByteBufAdvancedLeakAwareByteBuf. writeBytes(java.nio.ByteBuffer src)abstract ByteBufByteBuf. writeBytes(byte[] src)Transfers the specified source array's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=src.length).abstract ByteBufByteBuf. writeBytes(byte[] src, int srcIndex, int length)Transfers the specified source array's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length).abstract ByteBufByteBuf. writeBytes(ByteBuf src)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexuntil the source buffer becomes unreadable, and increases thewriterIndexby the number of the transferred bytes.abstract ByteBufByteBuf. writeBytes(ByteBuf src, int length)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length).abstract ByteBufByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length).abstract ByteBufByteBuf. writeBytes(java.nio.ByteBuffer src)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexuntil the source buffer's position reaches its limit, and increases thewriterIndexby the number of the transferred bytes.ByteBufEmptyByteBuf. writeBytes(byte[] src)ByteBufEmptyByteBuf. writeBytes(byte[] src, int srcIndex, int length)ByteBufEmptyByteBuf. writeBytes(ByteBuf src)ByteBufEmptyByteBuf. writeBytes(ByteBuf src, int length)ByteBufEmptyByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)ByteBufEmptyByteBuf. writeBytes(java.nio.ByteBuffer src)ByteBufSwappedByteBuf. writeBytes(byte[] src)Deprecated.ByteBufSwappedByteBuf. writeBytes(byte[] src, int srcIndex, int length)Deprecated.ByteBufSwappedByteBuf. writeBytes(ByteBuf src)Deprecated.ByteBufSwappedByteBuf. writeBytes(ByteBuf src, int length)Deprecated.ByteBufSwappedByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)Deprecated.ByteBufSwappedByteBuf. writeBytes(java.nio.ByteBuffer src)Deprecated.ByteBufWrappedByteBuf. writeBytes(byte[] src)ByteBufWrappedByteBuf. writeBytes(byte[] src, int srcIndex, int length)ByteBufWrappedByteBuf. writeBytes(ByteBuf src)ByteBufWrappedByteBuf. writeBytes(ByteBuf src, int length)ByteBufWrappedByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)ByteBufWrappedByteBuf. writeBytes(java.nio.ByteBuffer src)ByteBufAbstractByteBuf. writeChar(int value)ByteBufAbstractUnsafeSwappedByteBuf. writeChar(int value)ByteBufAdvancedLeakAwareByteBuf. writeChar(int value)abstract ByteBufByteBuf. writeChar(int value)Sets the specified 2-byte UTF-16 character at the currentwriterIndexand increases thewriterIndexby2in this buffer.ByteBufEmptyByteBuf. writeChar(int value)ByteBufSwappedByteBuf. writeChar(int value)Deprecated.ByteBufWrappedByteBuf. writeChar(int value)ByteBufAbstractByteBuf. writeDouble(double value)ByteBufAbstractUnsafeSwappedByteBuf. writeDouble(double value)ByteBufAdvancedLeakAwareByteBuf. writeDouble(double value)abstract ByteBufByteBuf. writeDouble(double value)Sets the specified 64-bit floating point number at the currentwriterIndexand increases thewriterIndexby8in this buffer.ByteBufEmptyByteBuf. writeDouble(double value)ByteBufSwappedByteBuf. writeDouble(double value)Deprecated.ByteBufWrappedByteBuf. writeDouble(double value)ByteBufByteBuf. writeDoubleLE(double value)Sets the specified 64-bit floating point number at the currentwriterIndexin Little Endian Byte Order and increases thewriterIndexby8in this buffer.ByteBufAbstractByteBuf. writeFloat(float value)ByteBufAbstractUnsafeSwappedByteBuf. writeFloat(float value)ByteBufAdvancedLeakAwareByteBuf. writeFloat(float value)abstract ByteBufByteBuf. writeFloat(float value)Sets the specified 32-bit floating point number at the currentwriterIndexand increases thewriterIndexby4in this buffer.ByteBufEmptyByteBuf. writeFloat(float value)ByteBufSwappedByteBuf. writeFloat(float value)Deprecated.ByteBufWrappedByteBuf. writeFloat(float value)ByteBufByteBuf. writeFloatLE(float value)Sets the specified 32-bit floating point number at the currentwriterIndexin Little Endian Byte Order and increases thewriterIndexby4in this buffer.ByteBufAbstractByteBuf. writeInt(int value)ByteBufAbstractUnsafeSwappedByteBuf. writeInt(int value)ByteBufAdvancedLeakAwareByteBuf. writeInt(int value)abstract ByteBufByteBuf. writeInt(int value)Sets the specified 32-bit integer at the currentwriterIndexand increases thewriterIndexby4in this buffer.ByteBufEmptyByteBuf. writeInt(int value)ByteBufSwappedByteBuf. writeInt(int value)Deprecated.ByteBufWrappedByteBuf. writeInt(int value)ByteBufAbstractByteBuf. writeIntLE(int value)ByteBufAdvancedLeakAwareByteBuf. writeIntLE(int value)ByteBufAdvancedLeakAwareCompositeByteBuf. writeIntLE(int value)abstract ByteBufByteBuf. writeIntLE(int value)Sets the specified 32-bit integer at the currentwriterIndexin the Little Endian Byte Order and increases thewriterIndexby4in this buffer.ByteBufEmptyByteBuf. writeIntLE(int value)ByteBufSwappedByteBuf. writeIntLE(int value)Deprecated.ByteBufWrappedByteBuf. writeIntLE(int value)ByteBufWrappedCompositeByteBuf. writeIntLE(int value)ByteBufAbstractByteBuf. writeLong(long value)ByteBufAbstractUnsafeSwappedByteBuf. writeLong(long value)ByteBufAdvancedLeakAwareByteBuf. writeLong(long value)abstract ByteBufByteBuf. writeLong(long value)Sets the specified 64-bit long integer at the currentwriterIndexand increases thewriterIndexby8in this buffer.ByteBufEmptyByteBuf. writeLong(long value)ByteBufSwappedByteBuf. writeLong(long value)Deprecated.ByteBufWrappedByteBuf. writeLong(long value)ByteBufAbstractByteBuf. writeLongLE(long value)ByteBufAdvancedLeakAwareByteBuf. writeLongLE(long value)ByteBufAdvancedLeakAwareCompositeByteBuf. writeLongLE(long value)abstract ByteBufByteBuf. writeLongLE(long value)Sets the specified 64-bit long integer at the currentwriterIndexin the Little Endian Byte Order and increases thewriterIndexby8in this buffer.ByteBufEmptyByteBuf. writeLongLE(long value)ByteBufSwappedByteBuf. writeLongLE(long value)Deprecated.ByteBufWrappedByteBuf. writeLongLE(long value)ByteBufWrappedCompositeByteBuf. writeLongLE(long value)ByteBufAbstractByteBuf. writeMedium(int value)ByteBufAdvancedLeakAwareByteBuf. writeMedium(int value)abstract ByteBufByteBuf. writeMedium(int value)Sets the specified 24-bit medium integer at the currentwriterIndexand increases thewriterIndexby3in this buffer.ByteBufEmptyByteBuf. writeMedium(int value)ByteBufSwappedByteBuf. writeMedium(int value)Deprecated.ByteBufWrappedByteBuf. writeMedium(int value)static ByteBufByteBufUtil. writeMediumBE(ByteBuf buf, int mediumValue)Writes a big-endian 24-bit medium integer to the buffer.ByteBufAbstractByteBuf. writeMediumLE(int value)ByteBufAdvancedLeakAwareByteBuf. writeMediumLE(int value)ByteBufAdvancedLeakAwareCompositeByteBuf. writeMediumLE(int value)abstract ByteBufByteBuf. writeMediumLE(int value)Sets the specified 24-bit medium integer at the currentwriterIndexin the Little Endian Byte Order and increases thewriterIndexby3in this buffer.ByteBufEmptyByteBuf. writeMediumLE(int value)ByteBufSwappedByteBuf. writeMediumLE(int value)Deprecated.ByteBufWrappedByteBuf. writeMediumLE(int value)ByteBufWrappedCompositeByteBuf. writeMediumLE(int value)ByteBufAbstractByteBuf. writerIndex(int writerIndex)abstract ByteBufByteBuf. writerIndex(int writerIndex)Sets thewriterIndexof this buffer.ByteBufEmptyByteBuf. writerIndex(int writerIndex)ByteBufSwappedByteBuf. writerIndex(int writerIndex)Deprecated.ByteBufWrappedByteBuf. writerIndex(int writerIndex)ByteBufAbstractByteBuf. writeShort(int value)ByteBufAbstractUnsafeSwappedByteBuf. writeShort(int value)ByteBufAdvancedLeakAwareByteBuf. writeShort(int value)abstract ByteBufByteBuf. writeShort(int value)Sets the specified 16-bit short integer at the currentwriterIndexand increases thewriterIndexby2in this buffer.ByteBufEmptyByteBuf. writeShort(int value)ByteBufSwappedByteBuf. writeShort(int value)Deprecated.ByteBufWrappedByteBuf. writeShort(int value)static ByteBufByteBufUtil. writeShortBE(ByteBuf buf, int shortValue)Writes a big-endian 16-bit short integer to the buffer.ByteBufAbstractByteBuf. writeShortLE(int value)ByteBufAdvancedLeakAwareByteBuf. writeShortLE(int value)ByteBufAdvancedLeakAwareCompositeByteBuf. writeShortLE(int value)abstract ByteBufByteBuf. writeShortLE(int value)Sets the specified 16-bit short integer in the Little Endian Byte Order at the currentwriterIndexand increases thewriterIndexby2in this buffer.ByteBufEmptyByteBuf. writeShortLE(int value)ByteBufSwappedByteBuf. writeShortLE(int value)Deprecated.ByteBufWrappedByteBuf. writeShortLE(int value)ByteBufWrappedCompositeByteBuf. writeShortLE(int value)static ByteBufByteBufUtil. writeUtf8(ByteBufAllocator alloc, java.lang.CharSequence seq)ByteBufAbstractByteBuf. writeZero(int length)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. writeZero(int length)ByteBufAdvancedLeakAwareByteBuf. writeZero(int length)abstract ByteBufByteBuf. writeZero(int length)Fills this buffer with NUL (0x00) starting at the currentwriterIndexand increases thewriterIndexby the specifiedlength.ByteBufEmptyByteBuf. writeZero(int length)ByteBufPooledUnsafeDirectByteBuf. writeZero(int length)ByteBufPooledUnsafeHeapByteBuf. writeZero(int length)ByteBufSwappedByteBuf. writeZero(int length)Deprecated.ByteBufUnpooledUnsafeDirectByteBuf. writeZero(int length)ByteBufUnpooledUnsafeHeapByteBuf. writeZero(int length)ByteBufWrappedByteBuf. writeZero(int length)Methods in io.netty.buffer that return types with arguments of type ByteBuf Modifier and Type Method Description java.util.List<ByteBuf>AdvancedLeakAwareCompositeByteBuf. decompose(int offset, int length)java.util.List<ByteBuf>CompositeByteBuf. decompose(int offset, int length)Same withAbstractByteBuf.slice(int, int)except that this method returns a list.java.util.List<ByteBuf>WrappedCompositeByteBuf. decompose(int offset, int length)java.util.Iterator<ByteBuf>AdvancedLeakAwareCompositeByteBuf. iterator()java.util.Iterator<ByteBuf>CompositeByteBuf. iterator()java.util.Iterator<ByteBuf>WrappedCompositeByteBuf. iterator()Methods in io.netty.buffer with parameters of type ByteBuf Modifier and Type Method Description CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addComponent(boolean increaseWriterIndex, int cIndex, ByteBuf buffer)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addComponent(boolean increaseWriterIndex, ByteBuf buffer)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addComponent(int cIndex, ByteBuf buffer)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addComponent(ByteBuf buffer)CompositeByteBufCompositeByteBuf. addComponent(boolean increaseWriterIndex, int cIndex, ByteBuf buffer)Add the givenByteBufon the specific index and increase thewriterIndexifincreaseWriterIndexistrue.CompositeByteBufCompositeByteBuf. addComponent(boolean increaseWriterIndex, ByteBuf buffer)CompositeByteBufCompositeByteBuf. addComponent(int cIndex, ByteBuf buffer)Add the givenByteBufon the specific index.CompositeByteBufCompositeByteBuf. addComponent(ByteBuf buffer)Add the givenByteBuf.CompositeByteBufWrappedCompositeByteBuf. addComponent(boolean increaseWriterIndex, int cIndex, ByteBuf buffer)CompositeByteBufWrappedCompositeByteBuf. addComponent(boolean increaseWriterIndex, ByteBuf buffer)CompositeByteBufWrappedCompositeByteBuf. addComponent(int cIndex, ByteBuf buffer)CompositeByteBufWrappedCompositeByteBuf. addComponent(ByteBuf buffer)private intCompositeByteBuf. addComponent0(boolean increaseWriterIndex, int cIndex, ByteBuf buffer)Precondition is thatbuffer != null.CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addComponents(boolean increaseWriterIndex, ByteBuf... buffers)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addComponents(int cIndex, ByteBuf... buffers)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addComponents(ByteBuf... buffers)CompositeByteBufCompositeByteBuf. addComponents(boolean increaseWriterIndex, ByteBuf... buffers)CompositeByteBufCompositeByteBuf. addComponents(int cIndex, ByteBuf... buffers)Add the givenByteBufs on the specific indexCompositeByteBufCompositeByteBuf. addComponents(ByteBuf... buffers)Add the givenByteBufs.CompositeByteBufWrappedCompositeByteBuf. addComponents(boolean increaseWriterIndex, ByteBuf... buffers)CompositeByteBufWrappedCompositeByteBuf. addComponents(int cIndex, ByteBuf... buffers)CompositeByteBufWrappedCompositeByteBuf. addComponents(ByteBuf... buffers)private CompositeByteBufCompositeByteBuf. addComponents0(boolean increaseWriterIndex, int cIndex, ByteBuf[] buffers, int arrOffset)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addFlattenedComponents(boolean increaseWriterIndex, ByteBuf buffer)CompositeByteBufCompositeByteBuf. addFlattenedComponents(boolean increaseWriterIndex, ByteBuf buffer)CompositeByteBufWrappedCompositeByteBuf. addFlattenedComponents(boolean increaseWriterIndex, ByteBuf buffer)static voidByteBufUtil. appendPrettyHexDump(java.lang.StringBuilder dump, ByteBuf buf)Appends the prettified multi-line hexadecimal dump of the specifiedByteBufto the specifiedStringBuilderthat is easy to read by humans.static voidByteBufUtil. appendPrettyHexDump(java.lang.StringBuilder dump, ByteBuf buf, int offset, int length)Appends the prettified multi-line hexadecimal dump of the specifiedByteBufto the specifiedStringBuilderthat is easy to read by humans, starting at the givenoffsetusing the givenlength.private static voidByteBufUtil.HexUtil. appendPrettyHexDump(java.lang.StringBuilder dump, ByteBuf buf, int offset, int length)private static voidAbstractByteBuf. checkReadableBounds(ByteBuf src, int length)(package private) static voidAbstractUnpooledSlicedByteBuf. checkSliceOutOfBounds(int index, int length, ByteBuf buffer)private voidSimpleLeakAwareCompositeByteBuf. closeLeak(ByteBuf trackedByteBuf)static intByteBufUtil. compare(ByteBuf bufferA, ByteBuf bufferB)Compares the two specified buffers as described incompareTo(ByteBuf).intAbstractByteBuf. compareTo(ByteBuf that)abstract intByteBuf. compareTo(ByteBuf buffer)Compares the content of the specified buffer to the content of this buffer.intEmptyByteBuf. compareTo(ByteBuf buffer)intSwappedByteBuf. compareTo(ByteBuf buffer)Deprecated.intWrappedByteBuf. compareTo(ByteBuf buffer)intWrappedCompositeByteBuf. compareTo(ByteBuf that)private static longByteBufUtil. compareUintBigEndian(ByteBuf bufferA, ByteBuf bufferB, int aIndex, int bIndex, int uintCountIncrement)private static longByteBufUtil. compareUintBigEndianA(ByteBuf bufferA, ByteBuf bufferB, int aIndex, int bIndex, int uintCountIncrement)private static longByteBufUtil. compareUintBigEndianB(ByteBuf bufferA, ByteBuf bufferB, int aIndex, int bIndex, int uintCountIncrement)private static longByteBufUtil. compareUintLittleEndian(ByteBuf bufferA, ByteBuf bufferB, int aIndex, int bIndex, int uintCountIncrement)static ByteBufUnpooled. copiedBuffer(ByteBuf buffer)Creates a new buffer whose content is a copy of the specifiedbuffer's readable bytes.static ByteBufUnpooled. copiedBuffer(ByteBuf... buffers)Creates a new buffer whose content is a merged copy of the specifiedbuffers' readable bytes.static voidByteBufUtil. copy(AsciiString src, int srcIdx, ByteBuf dst, int length)static voidByteBufUtil. copy(AsciiString src, int srcIdx, ByteBuf dst, int dstIdx, int length)static voidByteBufUtil. copy(AsciiString src, ByteBuf dst)private voidCompositeByteBuf. copyTo(int index, int length, int componentId, ByteBuf dst)(package private) static java.lang.StringByteBufUtil. decodeString(ByteBuf src, int readerIndex, int len, java.nio.charset.Charset charset)static ByteBufByteBufUtil. ensureAccessible(ByteBuf buffer)private static ByteBufCompositeByteBuf. ensureAccessible(ByteBuf buf)static booleanByteBufUtil. equals(ByteBuf a, int aStartIndex, ByteBuf b, int bStartIndex, int length)Returnstrueif and only if the two specified buffers are identical to each other forlengthbytes starting ataStartIndexindex for theabuffer andbStartIndexindex for thebbuffer.static booleanByteBufUtil. equals(ByteBuf bufferA, ByteBuf bufferB)Returnstrueif and only if the two specified buffers are identical to each other as described inequals(Object).ByteBufAbstractByteBuf. getBytes(int index, ByteBuf dst)ByteBufAbstractByteBuf. getBytes(int index, ByteBuf dst, int length)ByteBufAbstractUnpooledSlicedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufAdvancedLeakAwareByteBuf. getBytes(int index, ByteBuf dst)ByteBufAdvancedLeakAwareByteBuf. getBytes(int index, ByteBuf dst, int length)ByteBufAdvancedLeakAwareByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. getBytes(int index, ByteBuf dst)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. getBytes(int index, ByteBuf dst, int length)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)abstract ByteBufByteBuf. getBytes(int index, ByteBuf dst)Transfers this buffer's data to the specified destination starting at the specified absoluteindexuntil the destination becomes non-writable.abstract ByteBufByteBuf. getBytes(int index, ByteBuf dst, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.abstract ByteBufByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.static byte[]ByteBufUtil. getBytes(ByteBuf buf)Create a copy of the underlying storage frombufinto a byte array.static byte[]ByteBufUtil. getBytes(ByteBuf buf, int start, int length)Create a copy of the underlying storage frombufinto a byte array.static byte[]ByteBufUtil. getBytes(ByteBuf buf, int start, int length, boolean copy)Return an array of the underlying storage frombufinto a byte array.CompositeByteBufCompositeByteBuf. getBytes(int index, ByteBuf dst)CompositeByteBufCompositeByteBuf. getBytes(int index, ByteBuf dst, int length)CompositeByteBufCompositeByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufDuplicatedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)Deprecated.ByteBufEmptyByteBuf. getBytes(int index, ByteBuf dst)ByteBufEmptyByteBuf. getBytes(int index, ByteBuf dst, int length)ByteBufEmptyByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufFixedCompositeByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufPooledDirectByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufPooledDuplicatedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufPooledHeapByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufPooledSlicedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufPooledUnsafeDirectByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufReadOnlyByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)Deprecated.ByteBufReadOnlyByteBufferBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)protected ByteBufReadOnlyByteBufferBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length, boolean internal)protected ByteBufReadOnlyUnsafeDirectByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length, boolean internal)ByteBufSwappedByteBuf. getBytes(int index, ByteBuf dst)Deprecated.ByteBufSwappedByteBuf. getBytes(int index, ByteBuf dst, int length)Deprecated.ByteBufSwappedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)Deprecated.ByteBufUnpooledDirectByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufUnpooledHeapByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufUnpooledUnsafeDirectByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)(package private) static voidUnsafeByteBufUtil. getBytes(AbstractByteBuf buf, long addr, int index, ByteBuf dst, int dstIndex, int length)ByteBufWrappedByteBuf. getBytes(int index, ByteBuf dst)ByteBufWrappedByteBuf. getBytes(int index, ByteBuf dst, int length)ByteBufWrappedByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)CompositeByteBufWrappedCompositeByteBuf. getBytes(int index, ByteBuf dst)CompositeByteBufWrappedCompositeByteBuf. getBytes(int index, ByteBuf dst, int length)CompositeByteBufWrappedCompositeByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)static intByteBufUtil. hashCode(ByteBuf buffer)Calculates the hash code of the specified buffer.static java.lang.StringByteBufUtil. hexDump(ByteBuf buffer)Returns a hex dump of the specified buffer's readable bytes.static java.lang.StringByteBufUtil. hexDump(ByteBuf buffer, int fromIndex, int length)Returns a hex dump of the specified buffer's sub-region.private static java.lang.StringByteBufUtil.HexUtil. hexDump(ByteBuf buffer, int fromIndex, int length)private static intUnsafeHeapSwappedByteBuf. idx(ByteBuf wrapped, int index)static intByteBufUtil. indexOf(ByteBuf buffer, int fromIndex, int toIndex, byte value)The default implementation ofindexOf(int, int, byte).static intByteBufUtil. indexOf(ByteBuf needle, ByteBuf haystack)Returns the reader index of needle in haystack, or -1 if needle is not in haystack.(package private) <U extends AbstractPooledDerivedByteBuf>
UAbstractPooledDerivedByteBuf. init(AbstractByteBuf unwrapped, ByteBuf wrapped, int readerIndex, int writerIndex, int maxCapacity)static booleanByteBufUtil. isAccessible(ByteBuf buffer)private static booleanByteBufUtil. isAscii(ByteBuf buf, int index, int length)Returnstrueif the specifiedByteBufstarting atindexwithlengthis valid ASCII text, otherwise returnfalse.static booleanByteBufUtil. isText(ByteBuf buf, int index, int length, java.nio.charset.Charset charset)Returnstrueif the specifiedByteBufstarting atindexwithlengthis valid text using the givenCharset, otherwise returnfalse.static booleanByteBufUtil. isText(ByteBuf buf, java.nio.charset.Charset charset)private static booleanByteBufUtil. isUtf8(ByteBuf buf, int index, int length)Returnstrueif the specifiedByteBufstarting atindexwithlengthis valid UTF8 text, otherwise returnfalse.private static longByteBufUtil. maxSuf(ByteBuf x, int m, int start, boolean isSuffix)private CompositeByteBuf.ComponentCompositeByteBuf. newComponent(ByteBuf buf, int offset)(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)protected AdvancedLeakAwareByteBufAdvancedLeakAwareByteBuf. newLeakAwareByteBuf(ByteBuf buf, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leakTracker)protected AdvancedLeakAwareByteBufAdvancedLeakAwareCompositeByteBuf. newLeakAwareByteBuf(ByteBuf wrapped, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leakTracker)protected SimpleLeakAwareByteBufSimpleLeakAwareByteBuf. newLeakAwareByteBuf(ByteBuf buf, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leakTracker)private SimpleLeakAwareByteBufSimpleLeakAwareByteBuf. newLeakAwareByteBuf(ByteBuf wrapped, ResourceLeakTracker<ByteBuf> leakTracker)private SimpleLeakAwareByteBufSimpleLeakAwareCompositeByteBuf. newLeakAwareByteBuf(ByteBuf wrapped)protected SimpleLeakAwareByteBufSimpleLeakAwareCompositeByteBuf. newLeakAwareByteBuf(ByteBuf wrapped, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leakTracker)private SimpleLeakAwareByteBufSimpleLeakAwareByteBuf. newSharedLeakAwareByteBuf(ByteBuf wrapped)(package private) voidAbstractPooledDerivedByteBuf. parent(ByteBuf newParent)private static java.lang.StringByteBufUtil.HexUtil. prettyHexDump(ByteBuf buffer, int offset, int length)static java.lang.StringByteBufUtil. prettyHexDump(ByteBuf buffer)Returns a multi-line hexadecimal dump of the specifiedByteBufthat is easy to read by humans.static java.lang.StringByteBufUtil. prettyHexDump(ByteBuf buffer, int offset, int length)Returns a multi-line hexadecimal dump of the specifiedByteBufthat is easy to read by humans, starting at the givenoffsetusing the givenlength.ByteBufAbstractByteBuf. readBytes(ByteBuf dst)ByteBufAbstractByteBuf. readBytes(ByteBuf dst, int length)ByteBufAbstractByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufAdvancedLeakAwareByteBuf. readBytes(ByteBuf dst)ByteBufAdvancedLeakAwareByteBuf. readBytes(ByteBuf dst, int length)ByteBufAdvancedLeakAwareByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. readBytes(ByteBuf dst)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. readBytes(ByteBuf dst, int length)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)abstract ByteBufByteBuf. readBytes(ByteBuf dst)Transfers this buffer's data to the specified destination starting at the currentreaderIndexuntil the destination becomes non-writable, and increases thereaderIndexby the number of the transferred bytes.abstract ByteBufByteBuf. readBytes(ByteBuf dst, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).abstract ByteBufByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).static ByteBufByteBufUtil. readBytes(ByteBufAllocator alloc, ByteBuf buffer, int length)Read the given amount of bytes into a newByteBufthat is allocated from theByteBufAllocator.CompositeByteBufCompositeByteBuf. readBytes(ByteBuf dst)CompositeByteBufCompositeByteBuf. readBytes(ByteBuf dst, int length)CompositeByteBufCompositeByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufEmptyByteBuf. readBytes(ByteBuf dst)ByteBufEmptyByteBuf. readBytes(ByteBuf dst, int length)ByteBufEmptyByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufReadOnlyByteBufferBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufSwappedByteBuf. readBytes(ByteBuf dst)Deprecated.ByteBufSwappedByteBuf. readBytes(ByteBuf dst, int length)Deprecated.ByteBufSwappedByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)Deprecated.ByteBufWrappedByteBuf. readBytes(ByteBuf dst)ByteBufWrappedByteBuf. readBytes(ByteBuf dst, int length)ByteBufWrappedByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)CompositeByteBufWrappedCompositeByteBuf. readBytes(ByteBuf dst)CompositeByteBufWrappedCompositeByteBuf. readBytes(ByteBuf dst, int length)CompositeByteBufWrappedCompositeByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)static intByteBufUtil. readIntBE(ByteBuf buf)Reads a big-endian 32-bit integer from the buffer.static intByteBufUtil. readUnsignedShortBE(ByteBuf buf)Reads a big-endian unsigned 16-bit short integer from the buffer.ByteBufHolderByteBufHolder. replace(ByteBuf content)Returns a newByteBufHolderwhich contains the specifiedcontent.ByteBufHolderDefaultByteBufHolder. replace(ByteBuf content)Returns a newByteBufHolderwhich contains the specifiedcontent.static intByteBufUtil. reserveAndWriteUtf8(ByteBuf buf, java.lang.CharSequence seq, int reserveBytes)static intByteBufUtil. reserveAndWriteUtf8(ByteBuf buf, java.lang.CharSequence seq, int start, int end, int reserveBytes)Equivalent tobut avoids subsequence object allocation if possible.reserveAndWriteUtf8(buf, seq.subSequence(start, end), reserveBytes)private static intByteBufUtil. reserveAndWriteUtf8Seq(ByteBuf buf, java.lang.CharSequence seq, int start, int end, int reserveBytes)ByteBufAbstractByteBuf. setBytes(int index, ByteBuf src)ByteBufAbstractByteBuf. setBytes(int index, ByteBuf src, int length)ByteBufAbstractUnpooledSlicedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufAdaptivePoolingAllocator.AdaptiveByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufAdvancedLeakAwareByteBuf. setBytes(int index, ByteBuf src)ByteBufAdvancedLeakAwareByteBuf. setBytes(int index, ByteBuf src, int length)ByteBufAdvancedLeakAwareByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. setBytes(int index, ByteBuf src)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. setBytes(int index, ByteBuf src, int length)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)abstract ByteBufByteBuf. setBytes(int index, ByteBuf src)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindexuntil the source buffer becomes unreadable.abstract ByteBufByteBuf. setBytes(int index, ByteBuf src, int length)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex.abstract ByteBufByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex.CompositeByteBufCompositeByteBuf. setBytes(int index, ByteBuf src)CompositeByteBufCompositeByteBuf. setBytes(int index, ByteBuf src, int length)CompositeByteBufCompositeByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufDuplicatedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)Deprecated.ByteBufEmptyByteBuf. setBytes(int index, ByteBuf src)ByteBufEmptyByteBuf. setBytes(int index, ByteBuf src, int length)ByteBufEmptyByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufFixedCompositeByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufPooledDirectByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufPooledDuplicatedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufPooledHeapByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufPooledSlicedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufPooledUnsafeDirectByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufReadOnlyByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)Deprecated.ByteBufReadOnlyByteBufferBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufSwappedByteBuf. setBytes(int index, ByteBuf src)Deprecated.ByteBufSwappedByteBuf. setBytes(int index, ByteBuf src, int length)Deprecated.ByteBufSwappedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)Deprecated.ByteBufUnpooledDirectByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufUnpooledHeapByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufUnpooledUnsafeDirectByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)(package private) static voidUnsafeByteBufUtil. setBytes(AbstractByteBuf buf, long addr, int index, ByteBuf src, int srcIndex, int length)ByteBufWrappedByteBuf. setBytes(int index, ByteBuf src)ByteBufWrappedByteBuf. setBytes(int index, ByteBuf src, int length)ByteBufWrappedByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)CompositeByteBufWrappedCompositeByteBuf. setBytes(int index, ByteBuf src)CompositeByteBufWrappedCompositeByteBuf. setBytes(int index, ByteBuf src, int length)CompositeByteBufWrappedCompositeByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)static ByteBufByteBufUtil. setShortBE(ByteBuf buf, int index, int shortValue)Sets a big-endian 16-bit short integer to the buffer.protected static ByteBufAbstractByteBufAllocator. toLeakAwareBuffer(ByteBuf buf)(package private) voidCompositeByteBuf.Component. transferTo(ByteBuf dst)static ByteBufUnpooled. unmodifiableBuffer(ByteBuf buffer)Deprecated.UseasReadOnly().static ByteBufUnpooled. unmodifiableBuffer(ByteBuf... buffers)Deprecated.static ByteBufUnpooled. unreleasableBuffer(ByteBuf buf)Return a unreleasable view on the givenByteBufwhich will just ignore release and retain calls.private ByteBufSimpleLeakAwareByteBuf. unwrappedDerived(ByteBuf derived)private static ByteBufSimpleLeakAwareByteBuf. unwrapSwapped(ByteBuf buf)static ByteBufUnpooled. wrappedBuffer(int maxNumComponents, ByteBuf... buffers)Creates a new big-endian composite buffer which wraps the readable bytes of the specified buffers without copying them.static ByteBufUnpooled. wrappedBuffer(ByteBuf buffer)Creates a new buffer which wraps the specified buffer's readable bytes.static ByteBufUnpooled. wrappedBuffer(ByteBuf... buffers)Creates a new big-endian composite buffer which wraps the readable bytes of the specified buffers without copying them.private static ByteBufUnpooled. wrappedUnmodifiableBuffer(boolean copy, ByteBuf... buffers)static ByteBufUnpooled. wrappedUnmodifiableBuffer(ByteBuf... buffers)static intByteBufUtil. writeAscii(ByteBuf buf, java.lang.CharSequence seq)ByteBufAbstractByteBuf. writeBytes(ByteBuf src)ByteBufAbstractByteBuf. writeBytes(ByteBuf src, int length)ByteBufAbstractByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)ByteBufAdvancedLeakAwareByteBuf. writeBytes(ByteBuf src)ByteBufAdvancedLeakAwareByteBuf. writeBytes(ByteBuf src, int length)ByteBufAdvancedLeakAwareByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. writeBytes(ByteBuf src)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. writeBytes(ByteBuf src, int length)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)abstract ByteBufByteBuf. writeBytes(ByteBuf src)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexuntil the source buffer becomes unreadable, and increases thewriterIndexby the number of the transferred bytes.abstract ByteBufByteBuf. writeBytes(ByteBuf src, int length)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length).abstract ByteBufByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length).CompositeByteBufCompositeByteBuf. writeBytes(ByteBuf src)CompositeByteBufCompositeByteBuf. writeBytes(ByteBuf src, int length)CompositeByteBufCompositeByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)ByteBufEmptyByteBuf. writeBytes(ByteBuf src)ByteBufEmptyByteBuf. writeBytes(ByteBuf src, int length)ByteBufEmptyByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)ByteBufSwappedByteBuf. writeBytes(ByteBuf src)Deprecated.ByteBufSwappedByteBuf. writeBytes(ByteBuf src, int length)Deprecated.ByteBufSwappedByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)Deprecated.ByteBufWrappedByteBuf. writeBytes(ByteBuf src)ByteBufWrappedByteBuf. writeBytes(ByteBuf src, int length)ByteBufWrappedByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)CompositeByteBufWrappedCompositeByteBuf. writeBytes(ByteBuf src)CompositeByteBufWrappedCompositeByteBuf. writeBytes(ByteBuf src, int length)CompositeByteBufWrappedCompositeByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)static ByteBufByteBufUtil. writeMediumBE(ByteBuf buf, int mediumValue)Writes a big-endian 24-bit medium integer to the buffer.static ByteBufByteBufUtil. writeShortBE(ByteBuf buf, int shortValue)Writes a big-endian 16-bit short integer to the buffer.static intByteBufUtil. writeUtf8(ByteBuf buf, java.lang.CharSequence seq)static intByteBufUtil. writeUtf8(ByteBuf buf, java.lang.CharSequence seq, int start, int end)Equivalent tobut avoids subsequence object allocation.writeUtf8(buf, seq.subSequence(start, end))Method parameters in io.netty.buffer with type arguments of type ByteBuf Modifier and Type Method Description CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addComponents(boolean increaseWriterIndex, java.lang.Iterable<ByteBuf> buffers)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addComponents(int cIndex, java.lang.Iterable<ByteBuf> buffers)CompositeByteBufAdvancedLeakAwareCompositeByteBuf. addComponents(java.lang.Iterable<ByteBuf> buffers)private CompositeByteBufCompositeByteBuf. addComponents(boolean increaseIndex, int cIndex, java.lang.Iterable<ByteBuf> buffers)CompositeByteBufCompositeByteBuf. addComponents(boolean increaseWriterIndex, java.lang.Iterable<ByteBuf> buffers)CompositeByteBufCompositeByteBuf. addComponents(int cIndex, java.lang.Iterable<ByteBuf> buffers)Add the givenByteBufs on the specific index Be aware that this method does not increase thewriterIndexof theCompositeByteBuf.CompositeByteBufCompositeByteBuf. addComponents(java.lang.Iterable<ByteBuf> buffers)Add the givenByteBufs.CompositeByteBufWrappedCompositeByteBuf. addComponents(boolean increaseWriterIndex, java.lang.Iterable<ByteBuf> buffers)CompositeByteBufWrappedCompositeByteBuf. addComponents(int cIndex, java.lang.Iterable<ByteBuf> buffers)CompositeByteBufWrappedCompositeByteBuf. addComponents(java.lang.Iterable<ByteBuf> buffers)protected AdvancedLeakAwareByteBufAdvancedLeakAwareByteBuf. newLeakAwareByteBuf(ByteBuf buf, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leakTracker)protected AdvancedLeakAwareByteBufAdvancedLeakAwareCompositeByteBuf. newLeakAwareByteBuf(ByteBuf wrapped, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leakTracker)protected SimpleLeakAwareByteBufSimpleLeakAwareByteBuf. newLeakAwareByteBuf(ByteBuf buf, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leakTracker)private SimpleLeakAwareByteBufSimpleLeakAwareByteBuf. newLeakAwareByteBuf(ByteBuf wrapped, ResourceLeakTracker<ByteBuf> leakTracker)protected SimpleLeakAwareByteBufSimpleLeakAwareCompositeByteBuf. newLeakAwareByteBuf(ByteBuf wrapped, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leakTracker)(package private) static voidAdvancedLeakAwareByteBuf. recordLeakNonRefCountingOperation(ResourceLeakTracker<ByteBuf> leak)Constructors in io.netty.buffer with parameters of type ByteBuf Constructor Description AbstractUnpooledSlicedByteBuf(ByteBuf buffer, int index, int length)AdvancedLeakAwareByteBuf(ByteBuf wrapped, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leak)AdvancedLeakAwareByteBuf(ByteBuf buf, ResourceLeakTracker<ByteBuf> leak)ByteBufInputStream(ByteBuf buffer)Creates a new stream which reads data from the specifiedbufferstarting at the currentreaderIndexand ending at the currentwriterIndex.ByteBufInputStream(ByteBuf buffer, boolean releaseOnClose)Creates a new stream which reads data from the specifiedbufferstarting at the currentreaderIndexand ending at the currentwriterIndex.ByteBufInputStream(ByteBuf buffer, int length)Creates a new stream which reads data from the specifiedbufferstarting at the currentreaderIndexand ending atreaderIndex + length.ByteBufInputStream(ByteBuf buffer, int length, boolean releaseOnClose)Creates a new stream which reads data from the specifiedbufferstarting at the currentreaderIndexand ending atreaderIndex + length.ByteBufOutputStream(ByteBuf buffer)Creates a new stream which writes data to the specifiedbuffer.ByteBufOutputStream(ByteBuf buffer, boolean releaseOnClose)Creates a new stream which writes data to the specifiedbuffer.Component(ByteBuf srcBuf, int srcOffset, ByteBuf buf, int bufOffset, int offset, int len, ByteBuf slice)Component(int index, int offset, ByteBuf buf)CompositeByteBuf(ByteBufAllocator alloc, boolean direct, int maxNumComponents, ByteBuf... buffers)CompositeByteBuf(ByteBufAllocator alloc, boolean direct, int maxNumComponents, ByteBuf[] buffers, int offset)DefaultByteBufHolder(ByteBuf data)DuplicatedByteBuf(ByteBuf buffer)Deprecated.DuplicatedByteBuf(ByteBuf buffer, int readerIndex, int writerIndex)Deprecated.FixedCompositeByteBuf(ByteBufAllocator allocator, ByteBuf... buffers)PooledNonRetainedDuplicateByteBuf(ByteBuf referenceCountDelegate, AbstractByteBuf buffer)PooledNonRetainedSlicedByteBuf(ByteBuf referenceCountDelegate, AbstractByteBuf buffer, int index, int length)ReadOnlyByteBuf(ByteBuf buffer)Deprecated.ReadOnlyDuplicatedByteBuf(ByteBuf buffer)ReadOnlySlicedByteBuf(ByteBuf buffer, int index, int length)SimpleLeakAwareByteBuf(ByteBuf wrapped, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leak)SimpleLeakAwareByteBuf(ByteBuf wrapped, ResourceLeakTracker<ByteBuf> leak)SlicedByteBuf(ByteBuf buffer, int index, int length)Deprecated.SwappedByteBuf(ByteBuf buf)Deprecated.UnreleasableByteBuf(ByteBuf buf)WrappedByteBuf(ByteBuf buf)Constructor parameters in io.netty.buffer with type arguments of type ByteBuf Constructor Description AdvancedLeakAwareByteBuf(ByteBuf wrapped, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leak)AdvancedLeakAwareByteBuf(ByteBuf buf, ResourceLeakTracker<ByteBuf> leak)AdvancedLeakAwareCompositeByteBuf(CompositeByteBuf wrapped, ResourceLeakTracker<ByteBuf> leak)CompositeByteBuf(ByteBufAllocator alloc, boolean direct, int maxNumComponents, java.lang.Iterable<ByteBuf> buffers)SimpleLeakAwareByteBuf(ByteBuf wrapped, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leak)SimpleLeakAwareByteBuf(ByteBuf wrapped, ResourceLeakTracker<ByteBuf> leak)SimpleLeakAwareCompositeByteBuf(CompositeByteBuf wrapped, ResourceLeakTracker<ByteBuf> leak) -
Uses of ByteBuf in io.netty.channel
Methods in io.netty.channel that return ByteBuf Modifier and Type Method Description ByteBufDefaultMaxBytesRecvByteBufAllocator.HandleImpl. allocate(ByteBufAllocator alloc)ByteBufDefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle. allocate(ByteBufAllocator alloc)ByteBufRecvByteBufAllocator.DelegatingHandle. allocate(ByteBufAllocator alloc)ByteBufRecvByteBufAllocator.Handle. allocate(ByteBufAllocator alloc)Deprecated.Creates a new receive buffer whose capacity is probably large enough to read all inbound data and small enough not to waste its space.ByteBufPreferHeapByteBufAllocator. buffer()ByteBufPreferHeapByteBufAllocator. buffer(int initialCapacity)ByteBufPreferHeapByteBufAllocator. buffer(int initialCapacity, int maxCapacity)protected abstract ByteBufAbstractCoalescingBufferQueue. compose(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf next)Calculate the result ofcurrent + next.protected ByteBufCoalescingBufferQueue. compose(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf next)protected ByteBufAbstractCoalescingBufferQueue. composeFirst(ByteBufAllocator allocator, ByteBuf first)Deprecated.Use {AbstractCoalescingBufferQueue#composeFirst(ByteBufAllocator, ByteBuf, int)}protected ByteBufAbstractCoalescingBufferQueue. composeFirst(ByteBufAllocator allocator, ByteBuf first, int bufferSize)Calculate the firstByteBufwhich will be used in subsequent calls toAbstractCoalescingBufferQueue.compose(ByteBufAllocator, ByteBuf, ByteBuf).protected ByteBufAbstractCoalescingBufferQueue. composeIntoComposite(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf next)protected ByteBufAbstractCoalescingBufferQueue. copyAndCompose(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf next)ByteBufPreferHeapByteBufAllocator. directBuffer()ByteBufPreferHeapByteBufAllocator. directBuffer(int initialCapacity)ByteBufPreferHeapByteBufAllocator. directBuffer(int initialCapacity, int maxCapacity)ByteBufPreferHeapByteBufAllocator. heapBuffer()ByteBufPreferHeapByteBufAllocator. heapBuffer(int initialCapacity)ByteBufPreferHeapByteBufAllocator. heapBuffer(int initialCapacity, int maxCapacity)ByteBufPreferHeapByteBufAllocator. ioBuffer()ByteBufPreferHeapByteBufAllocator. ioBuffer(int initialCapacity)ByteBufPreferHeapByteBufAllocator. ioBuffer(int initialCapacity, int maxCapacity)ByteBufAbstractCoalescingBufferQueue. remove(ByteBufAllocator alloc, int bytes, ChannelPromise aggregatePromise)Remove aByteBuffrom the queue with the specified number of bytes.ByteBufCoalescingBufferQueue. remove(int bytes, ChannelPromise aggregatePromise)Remove aByteBuffrom the queue with the specified number of bytes.protected abstract ByteBufAbstractCoalescingBufferQueue. removeEmptyValue()The value to return whenAbstractCoalescingBufferQueue.remove(ByteBufAllocator, int, ChannelPromise)is called but the queue is empty.protected ByteBufCoalescingBufferQueue. removeEmptyValue()ByteBufAbstractCoalescingBufferQueue. removeFirst(ChannelPromise aggregatePromise)Remove the firstByteBuffrom the queue.Methods in io.netty.channel with parameters of type ByteBuf Modifier and Type Method Description voidAbstractCoalescingBufferQueue. add(ByteBuf buf)Add a buffer to the end of the queue.voidAbstractCoalescingBufferQueue. add(ByteBuf buf, ChannelFutureListener listener)Add a buffer to the end of the queue and associate a listener with it that should be completed when all the buffers bytes have been consumed from the queue and written.voidAbstractCoalescingBufferQueue. add(ByteBuf buf, ChannelPromise promise)Add a buffer to the end of the queue and associate a promise with it that should be completed when all the buffer's bytes have been consumed from the queue and written.private voidAbstractCoalescingBufferQueue. addFirst(ByteBuf buf, ChannelFutureListener listener)voidAbstractCoalescingBufferQueue. addFirst(ByteBuf buf, ChannelPromise promise)Add a buffer to the front of the queue and associate a promise with it that should be completed when all the buffer's bytes have been consumed from the queue and written.protected abstract ByteBufAbstractCoalescingBufferQueue. compose(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf next)Calculate the result ofcurrent + next.protected ByteBufCoalescingBufferQueue. compose(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf next)protected ByteBufAbstractCoalescingBufferQueue. composeFirst(ByteBufAllocator allocator, ByteBuf first)Deprecated.Use {AbstractCoalescingBufferQueue#composeFirst(ByteBufAllocator, ByteBuf, int)}protected ByteBufAbstractCoalescingBufferQueue. composeFirst(ByteBufAllocator allocator, ByteBuf first, int bufferSize)Calculate the firstByteBufwhich will be used in subsequent calls toAbstractCoalescingBufferQueue.compose(ByteBufAllocator, ByteBuf, ByteBuf).protected ByteBufAbstractCoalescingBufferQueue. composeIntoComposite(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf next)protected ByteBufAbstractCoalescingBufferQueue. copyAndCompose(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf next)private static intChannelOutboundBuffer. nioBuffers(ChannelOutboundBuffer.Entry entry, ByteBuf buf, java.nio.ByteBuffer[] nioBuffers, int nioBufferCount, int maxCount) -
Uses of ByteBuf in io.netty.channel.epoll
Methods in io.netty.channel.epoll that return ByteBuf Modifier and Type Method Description ByteBufEpollRecvByteAllocatorHandle. allocate(ByteBufAllocator alloc)protected ByteBufAbstractEpollChannel. newDirectBuffer(ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the original one.protected ByteBufAbstractEpollChannel. newDirectBuffer(java.lang.Object holder, ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the specified holder.private static ByteBufAbstractEpollChannel. newDirectBuffer0(java.lang.Object holder, ByteBuf buf, ByteBufAllocator alloc, int capacity)Methods in io.netty.channel.epoll with parameters of type ByteBuf Modifier and Type Method Description private booleanNativeDatagramPacketArray. add0(ByteBuf buf, int index, int len, int segmentLen, java.net.InetSocketAddress recipient)(package private) booleanNativeDatagramPacketArray. addWritable(ByteBuf buf, int index, int len)private booleanEpollDatagramChannel. connectedRead(EpollRecvByteAllocatorHandle allocHandle, ByteBuf byteBuf, int maxDatagramPacketSize)protected intAbstractEpollChannel. doReadBytes(ByteBuf byteBuf)Read bytes into the givenByteBufand return the amount.protected intAbstractEpollChannel. doWriteBytes(ChannelOutboundBuffer in, ByteBuf buf)(package private) longAbstractEpollChannel. doWriteOrSendBytes(ByteBuf data, java.net.InetSocketAddress remoteAddress, boolean fastOpen)Write bytes to the socket, with or without a remote address.private voidAbstractEpollStreamChannel.EpollStreamUnsafe. handleReadException(ChannelPipeline pipeline, ByteBuf byteBuf, java.lang.Throwable cause, boolean close, EpollRecvByteAllocatorHandle allocHandle)(package private) DatagramPacketNativeDatagramPacketArray.NativeDatagramPacket. newDatagramPacket(ByteBuf buffer, java.net.InetSocketAddress recipient)protected ByteBufAbstractEpollChannel. newDirectBuffer(ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the original one.protected ByteBufAbstractEpollChannel. newDirectBuffer(java.lang.Object holder, ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the specified holder.private static ByteBufAbstractEpollChannel. newDirectBuffer0(java.lang.Object holder, ByteBuf buf, ByteBufAllocator alloc, int capacity)private booleanEpollDatagramChannel. recvmsg(EpollRecvByteAllocatorHandle allocHandle, NativeDatagramPacketArray array, ByteBuf byteBuf)private static voidEpollDatagramChannel. releaseAndRecycle(ByteBuf byteBuf, RecyclableArrayList packetList)SegmentedDatagramPacketSegmentedDatagramPacket. replace(ByteBuf content)Deprecated.private booleanEpollDatagramChannel. scatteringRead(EpollRecvByteAllocatorHandle allocHandle, NativeDatagramPacketArray array, ByteBuf byteBuf, int datagramSize, int numDatagram)private intAbstractEpollStreamChannel. writeBytes(ChannelOutboundBuffer in, ByteBuf buf)Write bytes form the givenByteBufto the underlyingChannel.Constructors in io.netty.channel.epoll with parameters of type ByteBuf Constructor Description SegmentedDatagramPacket(ByteBuf data, int segmentSize, java.net.InetSocketAddress recipient)Deprecated.Create a new instance.SegmentedDatagramPacket(ByteBuf data, int segmentSize, java.net.InetSocketAddress recipient, java.net.InetSocketAddress sender)Deprecated.Create a new instance. -
Uses of ByteBuf in io.netty.channel.kqueue
Methods in io.netty.channel.kqueue that return ByteBuf Modifier and Type Method Description ByteBufKQueueRecvByteAllocatorHandle. allocate(ByteBufAllocator alloc)protected ByteBufAbstractKQueueChannel. newDirectBuffer(ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the original one.protected ByteBufAbstractKQueueChannel. newDirectBuffer(java.lang.Object holder, ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the specified holder.private static ByteBufAbstractKQueueChannel. newDirectBuffer0(java.lang.Object holder, ByteBuf buf, ByteBufAllocator alloc, int capacity)Methods in io.netty.channel.kqueue with parameters of type ByteBuf Modifier and Type Method Description protected intAbstractKQueueChannel. doReadBytes(ByteBuf byteBuf)Read bytes into the givenByteBufand return the amount.protected intAbstractKQueueChannel. doWriteBytes(ChannelOutboundBuffer in, ByteBuf buf)private voidAbstractKQueueStreamChannel.KQueueStreamUnsafe. handleReadException(ChannelPipeline pipeline, ByteBuf byteBuf, java.lang.Throwable cause, boolean close, KQueueRecvByteAllocatorHandle allocHandle)protected ByteBufAbstractKQueueChannel. newDirectBuffer(ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the original one.protected ByteBufAbstractKQueueChannel. newDirectBuffer(java.lang.Object holder, ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the specified holder.private static ByteBufAbstractKQueueChannel. newDirectBuffer0(java.lang.Object holder, ByteBuf buf, ByteBufAllocator alloc, int capacity)private intAbstractKQueueStreamChannel. writeBytes(ChannelOutboundBuffer in, ByteBuf buf)Write bytes form the givenByteBufto the underlyingChannel. -
Uses of ByteBuf in io.netty.channel.nio
Methods in io.netty.channel.nio that return ByteBuf Modifier and Type Method Description protected ByteBufAbstractNioChannel. newDirectBuffer(ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the original one.protected ByteBufAbstractNioChannel. newDirectBuffer(ReferenceCounted holder, ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the specified holder.Methods in io.netty.channel.nio with parameters of type ByteBuf Modifier and Type Method Description protected abstract intAbstractNioByteChannel. doReadBytes(ByteBuf buf)Read bytes into the givenByteBufand return the amount.protected abstract intAbstractNioByteChannel. doWriteBytes(ByteBuf buf)Write bytes form the givenByteBufto the underlyingChannel.private voidAbstractNioByteChannel.NioByteUnsafe. handleReadException(ChannelPipeline pipeline, ByteBuf byteBuf, java.lang.Throwable cause, boolean close, RecvByteBufAllocator.Handle allocHandle)protected ByteBufAbstractNioChannel. newDirectBuffer(ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the original one.protected ByteBufAbstractNioChannel. newDirectBuffer(ReferenceCounted holder, ByteBuf buf)Returns an off-heap copy of the specifiedByteBuf, and releases the specified holder. -
Uses of ByteBuf in io.netty.channel.oio
Methods in io.netty.channel.oio with parameters of type ByteBuf Modifier and Type Method Description protected abstract intAbstractOioByteChannel. doReadBytes(ByteBuf buf)Deprecated.Read bytes from the underlying Socket.protected intOioByteStreamChannel. doReadBytes(ByteBuf buf)Deprecated.protected abstract voidAbstractOioByteChannel. doWriteBytes(ByteBuf buf)Deprecated.Write the data which is hold by theByteBufto the underlying Socket.protected voidOioByteStreamChannel. doWriteBytes(ByteBuf buf)Deprecated.private voidAbstractOioByteChannel. handleReadException(ChannelPipeline pipeline, ByteBuf byteBuf, java.lang.Throwable cause, boolean close, RecvByteBufAllocator.Handle allocHandle)Deprecated. -
Uses of ByteBuf in io.netty.channel.sctp
Methods in io.netty.channel.sctp with parameters of type ByteBuf Modifier and Type Method Description SctpMessageSctpMessage. replace(ByteBuf content)Constructors in io.netty.channel.sctp with parameters of type ByteBuf Constructor Description SctpMessage(int protocolIdentifier, int streamIdentifier, boolean unordered, ByteBuf payloadBuffer)Essential data that is being carried within SCTP Data ChunkSctpMessage(int protocolIdentifier, int streamIdentifier, ByteBuf payloadBuffer)Essential data that is being carried within SCTP Data ChunkSctpMessage(MessageInfo msgInfo, ByteBuf payloadBuffer)Essential data that is being carried within SCTP Data Chunk -
Uses of ByteBuf in io.netty.channel.socket
Methods in io.netty.channel.socket with parameters of type ByteBuf Modifier and Type Method Description DatagramPacketDatagramPacket. replace(ByteBuf content)Constructors in io.netty.channel.socket with parameters of type ByteBuf Constructor Description DatagramPacket(ByteBuf data, java.net.InetSocketAddress recipient)Create a new instance with the specified packetdataandrecipientaddress.DatagramPacket(ByteBuf data, java.net.InetSocketAddress recipient, java.net.InetSocketAddress sender)Create a new instance with the specified packetdata,recipientaddress, andsenderaddress. -
Uses of ByteBuf in io.netty.channel.socket.nio
Methods in io.netty.channel.socket.nio with parameters of type ByteBuf Modifier and Type Method Description protected intNioDomainSocketChannel. doReadBytes(ByteBuf byteBuf)protected intNioSocketChannel. doReadBytes(ByteBuf byteBuf)protected intNioDomainSocketChannel. doWriteBytes(ByteBuf buf)protected intNioSocketChannel. doWriteBytes(ByteBuf buf)private static booleanNioDatagramChannel. isSingleDirectBuffer(ByteBuf buf)Checks if the specified buffer is a direct buffer and is composed of a single NIO buffer. -
Uses of ByteBuf in io.netty.channel.socket.oio
Methods in io.netty.channel.socket.oio with parameters of type ByteBuf Modifier and Type Method Description protected intOioSocketChannel. doReadBytes(ByteBuf buf)Deprecated. -
Uses of ByteBuf in io.netty.channel.unix
Fields in io.netty.channel.unix declared as ByteBuf Modifier and Type Field Description private ByteBufIovArray. memoryMethods in io.netty.channel.unix that return ByteBuf Modifier and Type Method Description ByteBufPreferredDirectByteBufAllocator. buffer()ByteBufPreferredDirectByteBufAllocator. buffer(int initialCapacity)ByteBufPreferredDirectByteBufAllocator. buffer(int initialCapacity, int maxCapacity)ByteBufPreferredDirectByteBufAllocator. directBuffer()ByteBufPreferredDirectByteBufAllocator. directBuffer(int initialCapacity)ByteBufPreferredDirectByteBufAllocator. directBuffer(int initialCapacity, int maxCapacity)ByteBufPreferredDirectByteBufAllocator. heapBuffer()ByteBufPreferredDirectByteBufAllocator. heapBuffer(int initialCapacity)ByteBufPreferredDirectByteBufAllocator. heapBuffer(int initialCapacity, int maxCapacity)ByteBufPreferredDirectByteBufAllocator. ioBuffer()ByteBufPreferredDirectByteBufAllocator. ioBuffer(int initialCapacity)ByteBufPreferredDirectByteBufAllocator. ioBuffer(int initialCapacity, int maxCapacity)Methods in io.netty.channel.unix with parameters of type ByteBuf Modifier and Type Method Description booleanIovArray. add(ByteBuf buf)Deprecated.booleanIovArray. add(ByteBuf buf, int offset, int len)static booleanUnixChannelUtil. isBufferCopyNeededForWrite(ByteBuf byteBuf)Checks if the specified buffer has memory address or is composed of n(n <= IOV_MAX) NIO direct buffers.(package private) static booleanUnixChannelUtil. isBufferCopyNeededForWrite(ByteBuf byteBuf, int iovMax)DomainDatagramPacketDomainDatagramPacket. replace(ByteBuf content)SegmentedDatagramPacketSegmentedDatagramPacket. replace(ByteBuf content)Constructors in io.netty.channel.unix with parameters of type ByteBuf Constructor Description DomainDatagramPacket(ByteBuf data, DomainSocketAddress recipient)Create a new instance with the specified packetdataandrecipientaddress.DomainDatagramPacket(ByteBuf data, DomainSocketAddress recipient, DomainSocketAddress sender)Create a new instance with the specified packetdata,recipientaddress, andsenderaddress.IovArray(ByteBuf memory)SegmentedDatagramPacket(ByteBuf data, int segmentSize, java.net.InetSocketAddress recipient)Create a new instance.SegmentedDatagramPacket(ByteBuf data, int segmentSize, java.net.InetSocketAddress recipient, java.net.InetSocketAddress sender)Create a new instance. -
Uses of ByteBuf in io.netty.handler.codec
Subclasses of ByteBuf in io.netty.handler.codec Modifier and Type Class Description (package private) classReplayingDecoderByteBufSpecialByteBufimplementation which is used by theReplayingDecoderFields in io.netty.handler.codec declared as ByteBuf Modifier and Type Field Description private ByteBufAsciiHeadersEncoder. bufprivate ByteBufReplayingDecoderByteBuf. buffer(package private) ByteBufByteToMessageDecoder. cumulationprivate ByteBuf[]DelimiterBasedFrameDecoder. delimitersFields in io.netty.handler.codec with type parameters of type ByteBuf Modifier and Type Field Description private MessageToMessageDecoder<ByteBuf>DatagramPacketDecoder. decoderMethods in io.netty.handler.codec that return ByteBuf Modifier and Type Method Description protected ByteBufMessageToByteEncoder. allocateBuffer(ChannelHandlerContext ctx, I msg, boolean preferDirect)Allocate aByteBufwhich will be used as argument of#encode(ChannelHandlerContext, I, ByteBuf).ByteBufReplayingDecoderByteBuf. asReadOnly()ByteBufReplayingDecoderByteBuf. capacity(int newCapacity)ByteBufReplayingDecoderByteBuf. clear()ByteBufReplayingDecoderByteBuf. copy()ByteBufReplayingDecoderByteBuf. copy(int index, int length)ByteBufByteToMessageDecoder.Cumulator. cumulate(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf in)ByteBufReplayingDecoderByteBuf. discardReadBytes()ByteBufReplayingDecoderByteBuf. discardSomeReadBytes()ByteBufReplayingDecoderByteBuf. duplicate()ByteBufReplayingDecoderByteBuf. ensureWritable(int writableBytes)(package private) static ByteBufByteToMessageDecoder. expandCumulation(ByteBufAllocator alloc, ByteBuf oldCumulation, ByteBuf in)protected ByteBufLengthFieldBasedFrameDecoder. extractFrame(ChannelHandlerContext ctx, ByteBuf buffer, int index, int length)Extract the sub-region of the specified buffer.ByteBufReplayingDecoderByteBuf. getBytes(int index, byte[] dst)ByteBufReplayingDecoderByteBuf. getBytes(int index, byte[] dst, int dstIndex, int length)ByteBufReplayingDecoderByteBuf. getBytes(int index, ByteBuf dst)ByteBufReplayingDecoderByteBuf. getBytes(int index, ByteBuf dst, int length)ByteBufReplayingDecoderByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)ByteBufReplayingDecoderByteBuf. getBytes(int index, java.io.OutputStream out, int length)ByteBufReplayingDecoderByteBuf. getBytes(int index, java.nio.ByteBuffer dst)protected ByteBufByteToMessageDecoder. internalBuffer()Returns the internal cumulative buffer of this decoder.static ByteBuf[]Delimiters. lineDelimiter()ReturnsCR ('\r')andLF ('\n')delimiters, which could be used for text-based line protocols.ByteBufReplayingDecoderByteBuf. markReaderIndex()ByteBufReplayingDecoderByteBuf. markWriterIndex()static ByteBuf[]Delimiters. nulDelimiter()Returns aNUL (0x00)delimiter, which could be used for Flash XML socket or any similar protocols.ByteBufReplayingDecoderByteBuf. order(java.nio.ByteOrder endianness)ByteBufReplayingDecoderByteBuf. readBytes(byte[] dst)ByteBufReplayingDecoderByteBuf. readBytes(byte[] dst, int dstIndex, int length)ByteBufReplayingDecoderByteBuf. readBytes(int length)ByteBufReplayingDecoderByteBuf. readBytes(ByteBuf dst)ByteBufReplayingDecoderByteBuf. readBytes(ByteBuf dst, int length)ByteBufReplayingDecoderByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufReplayingDecoderByteBuf. readBytes(java.io.OutputStream out, int length)ByteBufReplayingDecoderByteBuf. readBytes(java.nio.ByteBuffer dst)ByteBufReplayingDecoderByteBuf. readerIndex(int readerIndex)ByteBufReplayingDecoderByteBuf. readRetainedSlice(int length)ByteBufReplayingDecoderByteBuf. readSlice(int length)ByteBufReplayingDecoderByteBuf. resetReaderIndex()ByteBufReplayingDecoderByteBuf. resetWriterIndex()ByteBufReplayingDecoderByteBuf. retain()ByteBufReplayingDecoderByteBuf. retain(int increment)ByteBufReplayingDecoderByteBuf. retainedDuplicate()ByteBufReplayingDecoderByteBuf. retainedSlice()ByteBufReplayingDecoderByteBuf. retainedSlice(int index, int length)ByteBufReplayingDecoderByteBuf. setBoolean(int index, boolean value)ByteBufReplayingDecoderByteBuf. setByte(int index, int value)ByteBufReplayingDecoderByteBuf. setBytes(int index, byte[] src)ByteBufReplayingDecoderByteBuf. setBytes(int index, byte[] src, int srcIndex, int length)ByteBufReplayingDecoderByteBuf. setBytes(int index, ByteBuf src)ByteBufReplayingDecoderByteBuf. setBytes(int index, ByteBuf src, int length)ByteBufReplayingDecoderByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)ByteBufReplayingDecoderByteBuf. setBytes(int index, java.nio.ByteBuffer src)ByteBufReplayingDecoderByteBuf. setChar(int index, int value)ByteBufReplayingDecoderByteBuf. setDouble(int index, double value)ByteBufReplayingDecoderByteBuf. setFloat(int index, float value)ByteBufReplayingDecoderByteBuf. setIndex(int readerIndex, int writerIndex)ByteBufReplayingDecoderByteBuf. setInt(int index, int value)ByteBufReplayingDecoderByteBuf. setIntLE(int index, int value)ByteBufReplayingDecoderByteBuf. setLong(int index, long value)ByteBufReplayingDecoderByteBuf. setLongLE(int index, long value)ByteBufReplayingDecoderByteBuf. setMedium(int index, int value)ByteBufReplayingDecoderByteBuf. setMediumLE(int index, int value)ByteBufReplayingDecoderByteBuf. setShort(int index, int value)ByteBufReplayingDecoderByteBuf. setShortLE(int index, int value)ByteBufReplayingDecoderByteBuf. setZero(int index, int length)ByteBufReplayingDecoderByteBuf. skipBytes(int length)ByteBufReplayingDecoderByteBuf. slice()ByteBufReplayingDecoderByteBuf. slice(int index, int length)ByteBufReplayingDecoderByteBuf. touch()ByteBufReplayingDecoderByteBuf. touch(java.lang.Object hint)ByteBufReplayingDecoderByteBuf. unwrap()ByteBufReplayingDecoderByteBuf. writeBoolean(boolean value)ByteBufReplayingDecoderByteBuf. writeByte(int value)ByteBufReplayingDecoderByteBuf. writeBytes(byte[] src)ByteBufReplayingDecoderByteBuf. writeBytes(byte[] src, int srcIndex, int length)ByteBufReplayingDecoderByteBuf. writeBytes(ByteBuf src)ByteBufReplayingDecoderByteBuf. writeBytes(ByteBuf src, int length)ByteBufReplayingDecoderByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)ByteBufReplayingDecoderByteBuf. writeBytes(java.nio.ByteBuffer src)ByteBufReplayingDecoderByteBuf. writeChar(int value)ByteBufReplayingDecoderByteBuf. writeDouble(double value)ByteBufReplayingDecoderByteBuf. writeFloat(float value)ByteBufReplayingDecoderByteBuf. writeInt(int value)ByteBufReplayingDecoderByteBuf. writeIntLE(int value)ByteBufReplayingDecoderByteBuf. writeLong(long value)ByteBufReplayingDecoderByteBuf. writeLongLE(long value)ByteBufReplayingDecoderByteBuf. writeMedium(int value)ByteBufReplayingDecoderByteBuf. writeMediumLE(int value)ByteBufReplayingDecoderByteBuf. writerIndex(int writerIndex)ByteBufReplayingDecoderByteBuf. writeShort(int value)ByteBufReplayingDecoderByteBuf. writeShortLE(int value)ByteBufReplayingDecoderByteBuf. writeZero(int length)Methods in io.netty.handler.codec with parameters of type ByteBuf Modifier and Type Method Description private static voidMessageAggregator. appendPartialContent(CompositeByteBuf content, ByteBuf partialContent)protected abstract OMessageAggregator. beginAggregation(S start, ByteBuf content)Creates a new aggregated message from the specified start message and the specified content.protected voidByteToMessageDecoder. callDecode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)Called once data should be decoded from the givenByteBuf.protected voidReplayingDecoder. callDecode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)intReplayingDecoderByteBuf. compareTo(ByteBuf buffer)ByteBufByteToMessageDecoder.Cumulator. cumulate(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf in)protected abstract voidByteToMessageCodec. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected abstract voidByteToMessageDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)Decode the from oneByteBufto an other.protected java.lang.ObjectDelimiterBasedFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf buffer)Create a frame out of theByteBufand return it.protected voidDelimiterBasedFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected java.lang.ObjectFixedLengthFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in)Create a frame out of theByteBufand return it.protected voidFixedLengthFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected java.lang.ObjectLengthFieldBasedFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in)Create a frame out of theByteBufand return it.protected voidLengthFieldBasedFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected java.lang.ObjectLineBasedFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf buffer)Create a frame out of theByteBufand return it.protected voidLineBasedFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidByteToMessageCodec. decodeLast(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidByteToMessageDecoder. decodeLast(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)Is called one last time when theChannelHandlerContextgoes in-active.(package private) voidByteToMessageDecoder. decodeRemovalReentryProtection(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)Decode the from oneByteBufto an other.private voidLengthFieldBasedFrameDecoder. discardingTooLongFrame(ByteBuf in)protected abstract voidByteToMessageCodec. encode(ChannelHandlerContext ctx, I msg, ByteBuf out)protected voidByteToMessageCodec.Encoder. encode(ChannelHandlerContext ctx, I msg, ByteBuf out)protected voidLengthFieldPrepender. encode(ChannelHandlerContext ctx, ByteBuf msg, java.util.List<java.lang.Object> out)protected abstract voidMessageToByteEncoder. encode(ChannelHandlerContext ctx, I msg, ByteBuf out)Encode a message into aByteBuf.private voidLengthFieldBasedFrameDecoder. exceededFrameLength(ByteBuf in, long frameLength)(package private) static ByteBufByteToMessageDecoder. expandCumulation(ByteBufAllocator alloc, ByteBuf oldCumulation, ByteBuf in)protected ByteBufLengthFieldBasedFrameDecoder. extractFrame(ChannelHandlerContext ctx, ByteBuf buffer, int index, int length)Extract the sub-region of the specified buffer.private static voidLengthFieldBasedFrameDecoder. failOnFrameLengthLessThanInitialBytesToStrip(ByteBuf in, long frameLength, int initialBytesToStrip)private static voidLengthFieldBasedFrameDecoder. failOnFrameLengthLessThanLengthFieldEndOffset(ByteBuf in, long frameLength, int lengthFieldEndOffset)private static voidLengthFieldBasedFrameDecoder. failOnNegativeLengthField(ByteBuf in, long frameLength, int lengthFieldEndOffset)private intLineBasedFrameDecoder. findEndOfLine(ByteBuf buffer)Returns the index in the buffer of the end of line found.ByteBufReplayingDecoderByteBuf. getBytes(int index, ByteBuf dst)ByteBufReplayingDecoderByteBuf. getBytes(int index, ByteBuf dst, int length)ByteBufReplayingDecoderByteBuf. getBytes(int index, ByteBuf dst, int dstIndex, int length)protected longLengthFieldBasedFrameDecoder. getUnadjustedFrameLength(ByteBuf buf, int offset, int length, java.nio.ByteOrder order)Decodes the specified region of the buffer into an unadjusted frame length.private static intDelimiterBasedFrameDecoder. indexOf(ByteBuf haystack, ByteBuf needle)Returns the number of bytes between the readerIndex of the haystack and the first needle found in the haystack.private static booleanDelimiterBasedFrameDecoder. isLineBased(ByteBuf[] delimiters)Returns true if the delimiters are "\n" and "\r\n".ByteBufReplayingDecoderByteBuf. readBytes(ByteBuf dst)ByteBufReplayingDecoderByteBuf. readBytes(ByteBuf dst, int length)ByteBufReplayingDecoderByteBuf. readBytes(ByteBuf dst, int dstIndex, int length)ByteBufReplayingDecoderByteBuf. setBytes(int index, ByteBuf src)ByteBufReplayingDecoderByteBuf. setBytes(int index, ByteBuf src, int length)ByteBufReplayingDecoderByteBuf. setBytes(int index, ByteBuf src, int srcIndex, int length)(package private) voidReplayingDecoderByteBuf. setCumulation(ByteBuf buffer)private static voidDelimiterBasedFrameDecoder. validateDelimiter(ByteBuf delimiter)private static voidAsciiHeadersEncoder. writeAscii(ByteBuf buf, int offset, java.lang.CharSequence value)ByteBufReplayingDecoderByteBuf. writeBytes(ByteBuf src)ByteBufReplayingDecoderByteBuf. writeBytes(ByteBuf src, int length)ByteBufReplayingDecoderByteBuf. writeBytes(ByteBuf src, int srcIndex, int length)Constructors in io.netty.handler.codec with parameters of type ByteBuf Constructor Description AsciiHeadersEncoder(ByteBuf buf)AsciiHeadersEncoder(ByteBuf buf, AsciiHeadersEncoder.SeparatorType separatorType, AsciiHeadersEncoder.NewlineType newlineType)DelimiterBasedFrameDecoder(int maxFrameLength, boolean stripDelimiter, boolean failFast, ByteBuf delimiter)Creates a new instance.DelimiterBasedFrameDecoder(int maxFrameLength, boolean stripDelimiter, boolean failFast, ByteBuf... delimiters)Creates a new instance.DelimiterBasedFrameDecoder(int maxFrameLength, boolean stripDelimiter, ByteBuf delimiter)Creates a new instance.DelimiterBasedFrameDecoder(int maxFrameLength, boolean stripDelimiter, ByteBuf... delimiters)Creates a new instance.DelimiterBasedFrameDecoder(int maxFrameLength, ByteBuf delimiter)Creates a new instance.DelimiterBasedFrameDecoder(int maxFrameLength, ByteBuf... delimiters)Creates a new instance.ReplayingDecoderByteBuf(ByteBuf buffer)Constructor parameters in io.netty.handler.codec with type arguments of type ByteBuf Constructor Description DatagramPacketDecoder(MessageToMessageDecoder<ByteBuf> decoder)Create aDatagramPacketdecoder using the specifiedByteBufdecoder. -
Uses of ByteBuf in io.netty.handler.codec.base64
Fields in io.netty.handler.codec.base64 declared as ByteBuf Modifier and Type Field Description private ByteBufBase64.Decoder. destMethods in io.netty.handler.codec.base64 that return ByteBuf Modifier and Type Method Description static ByteBufBase64. decode(ByteBuf src)static ByteBufBase64. decode(ByteBuf src, int off, int len)static ByteBufBase64. decode(ByteBuf src, int off, int len, Base64Dialect dialect)static ByteBufBase64. decode(ByteBuf src, int off, int len, Base64Dialect dialect, ByteBufAllocator allocator)static ByteBufBase64. decode(ByteBuf src, Base64Dialect dialect)(package private) ByteBufBase64.Decoder. decode(ByteBuf src, int off, int len, ByteBufAllocator allocator, Base64Dialect dialect)static ByteBufBase64. encode(ByteBuf src)static ByteBufBase64. encode(ByteBuf src, boolean breakLines)static ByteBufBase64. encode(ByteBuf src, boolean breakLines, Base64Dialect dialect)static ByteBufBase64. encode(ByteBuf src, int off, int len)static ByteBufBase64. encode(ByteBuf src, int off, int len, boolean breakLines)static ByteBufBase64. encode(ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect)static ByteBufBase64. encode(ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect, ByteBufAllocator allocator)static ByteBufBase64. encode(ByteBuf src, int off, int len, Base64Dialect dialect)static ByteBufBase64. encode(ByteBuf src, Base64Dialect dialect)Methods in io.netty.handler.codec.base64 with parameters of type ByteBuf Modifier and Type Method Description static ByteBufBase64. decode(ByteBuf src)static ByteBufBase64. decode(ByteBuf src, int off, int len)static ByteBufBase64. decode(ByteBuf src, int off, int len, Base64Dialect dialect)static ByteBufBase64. decode(ByteBuf src, int off, int len, Base64Dialect dialect, ByteBufAllocator allocator)static ByteBufBase64. decode(ByteBuf src, Base64Dialect dialect)(package private) ByteBufBase64.Decoder. decode(ByteBuf src, int off, int len, ByteBufAllocator allocator, Base64Dialect dialect)protected voidBase64Decoder. decode(ChannelHandlerContext ctx, ByteBuf msg, java.util.List<java.lang.Object> out)private static intBase64.Decoder. decode4to3(byte[] src, ByteBuf dest, int destOffset, byte[] decodabet)static ByteBufBase64. encode(ByteBuf src)static ByteBufBase64. encode(ByteBuf src, boolean breakLines)static ByteBufBase64. encode(ByteBuf src, boolean breakLines, Base64Dialect dialect)static ByteBufBase64. encode(ByteBuf src, int off, int len)static ByteBufBase64. encode(ByteBuf src, int off, int len, boolean breakLines)static ByteBufBase64. encode(ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect)static ByteBufBase64. encode(ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect, ByteBufAllocator allocator)static ByteBufBase64. encode(ByteBuf src, int off, int len, Base64Dialect dialect)static ByteBufBase64. encode(ByteBuf src, Base64Dialect dialect)protected voidBase64Encoder. encode(ChannelHandlerContext ctx, ByteBuf msg, java.util.List<java.lang.Object> out)private static voidBase64. encode3to4(ByteBuf src, int srcOffset, int numSigBytes, ByteBuf dest, int destOffset, byte[] alphabet)private static voidBase64. encode3to4BigEndian(int inBuff, int numSigBytes, ByteBuf dest, int destOffset, byte[] alphabet)private static voidBase64. encode3to4LittleEndian(int inBuff, int numSigBytes, ByteBuf dest, int destOffset, byte[] alphabet) -
Uses of ByteBuf in io.netty.handler.codec.bytes
Methods in io.netty.handler.codec.bytes with parameters of type ByteBuf Modifier and Type Method Description protected voidByteArrayDecoder. decode(ChannelHandlerContext ctx, ByteBuf msg, java.util.List<java.lang.Object> out) -
Uses of ByteBuf in io.netty.handler.codec.compression
Fields in io.netty.handler.codec.compression declared as ByteBuf Modifier and Type Field Description private ByteBufBzip2BitReader. inTheByteBuffrom which to read data.Methods in io.netty.handler.codec.compression that return ByteBuf Modifier and Type Method Description protected ByteBufJdkZlibEncoder. allocateBuffer(ChannelHandlerContext ctx, ByteBuf msg, boolean preferDirect)protected ByteBufZlibDecoder. prepareDecompressBuffer(ChannelHandlerContext ctx, ByteBuf buffer, int preferredSize)Allocate or expand the decompression buffer, without exceeding the maximum allocation.Methods in io.netty.handler.codec.compression with parameters of type ByteBuf Modifier and Type Method Description protected ByteBufJdkZlibEncoder. allocateBuffer(ChannelHandlerContext ctx, ByteBuf msg, boolean preferDirect)private static voidSnappyFrameEncoder. calculateAndWriteChecksum(ByteBuf slice, ByteBuf out)Calculates and writes the 4-byte checksum to the output buffer(package private) static intSnappy. calculateChecksum(ByteBuf data)Computes the CRC32C checksum of the supplied data and performs the "mask" operation on the computed checksum(package private) static intSnappy. calculateChecksum(ByteBuf data, int offset, int length)Computes the CRC32C checksum of the supplied data and performs the "mask" operation on the computed checksum(package private) static voidCompressionUtil. checkChecksum(ByteBufChecksum checksum, ByteBuf uncompressed, int currentChecksum)(package private) voidBzip2BlockCompressor. close(ByteBuf out)Compresses and writes out the block.private voidBzip2Encoder. closeBlock(ByteBuf out)Close current block and updateBzip2Encoder.streamCRC.(package private) static intFastLz. compress(ByteBuf input, int inOffset, int inLength, ByteBuf output, int outOffset, int proposedLevel)Compress a block of data in the input buffer and returns the size of compressed block.protected voidBzip2Decoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidFastLzFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidJdkZlibDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidJZlibDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)voidSnappy. decode(ByteBuf in, ByteBuf out)protected voidSnappyFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)private static intSnappy. decodeCopyWith1ByteOffset(byte tag, ByteBuf in, ByteBuf out, int writtenSoFar)Reads a compressed reference offset and length from the supplied input buffer, seeks back to the appropriate place in the input buffer and writes the found data to the supplied output stream.private static intSnappy. decodeCopyWith2ByteOffset(byte tag, ByteBuf in, ByteBuf out, int writtenSoFar)Reads a compressed reference offset and length from the supplied input buffer, seeks back to the appropriate place in the input buffer and writes the found data to the supplied output stream.private static intSnappy. decodeCopyWith4ByteOffset(byte tag, ByteBuf in, ByteBuf out, int writtenSoFar)Reads a compressed reference offset and length from the supplied input buffer, seeks back to the appropriate place in the input buffer and writes the found data to the supplied output stream.(package private) static intSnappy. decodeLiteral(byte tag, ByteBuf in, ByteBuf out)Reads a literal from the input buffer directly to the output buffer.(package private) static intFastLz. decompress(ByteBuf input, int inOffset, int inLength, ByteBuf output, int outOffset, int outLength)Decompress a block of compressed data and returns the size of the decompressed block.protected voidJdkZlibDecoder. decompressionBufferExhausted(ByteBuf buffer)protected voidJZlibDecoder. decompressionBufferExhausted(ByteBuf buffer)protected voidZlibDecoder. decompressionBufferExhausted(ByteBuf buffer)Called when the decompression buffer cannot be expanded further.private voidJdkZlibEncoder. deflate(ByteBuf out)private voidJdkZlibEncoder. deflateJdk6(ByteBuf out)protected voidBzip2Encoder. encode(ChannelHandlerContext ctx, ByteBuf in, ByteBuf out)(package private) voidBzip2HuffmanStageEncoder. encode(ByteBuf out)Encodes and writes the block data.protected voidFastLzFrameEncoder. encode(ChannelHandlerContext ctx, ByteBuf in, ByteBuf out)protected voidJdkZlibEncoder. encode(ChannelHandlerContext ctx, ByteBuf uncompressed, ByteBuf out)protected voidJZlibEncoder. encode(ChannelHandlerContext ctx, ByteBuf in, ByteBuf out)voidSnappy. encode(ByteBuf in, ByteBuf out, int length)protected voidSnappyFrameEncoder. encode(ChannelHandlerContext ctx, ByteBuf in, ByteBuf out)private static voidSnappy. encodeCopy(ByteBuf out, int offset, int length)Encodes a series of copies, each at most 64 bytes in length.private static voidSnappy. encodeCopyWithOffset(ByteBuf out, int offset, int length)(package private) static voidSnappy. encodeLiteral(ByteBuf in, ByteBuf out, int length)Writes a literal to the supplied output buffer by directly copying from the input buffer.private voidJdkZlibEncoder. encodeSome(ByteBuf in, ByteBuf out)private static intSnappy. findMatchingLength(ByteBuf in, int minIndex, int inIndex, int maxIndex)Iterates over the supplied input buffer between the supplied minIndex and maxIndex to find how long our matched copy overlaps with an already-written literal value.(package private) voidBzip2BitWriter. flush(ByteBuf out)Writes any remaining bits to the outputByteBuf, zero padding to a whole byte as required.(package private) intSnappy. getPreamble(ByteBuf in)Get the length varint (a series of bytes, where the lower 7 bits are data and the upper bit is a flag to indicate more bytes to be read).private booleanJdkZlibDecoder. handleGzipFooter(ByteBuf in)private static intSnappy. hash(ByteBuf in, int index, int shift)Hashes the 4 bytes located at index, shifting the resulting hash into the appropriate range for our hash table.private static intFastLz. hashFunction(ByteBuf p, int offset)protected ByteBufZlibDecoder. prepareDecompressBuffer(ChannelHandlerContext ctx, ByteBuf buffer, int preferredSize)Allocate or expand the decompression buffer, without exceeding the maximum allocation.private booleanJdkZlibDecoder. readGZIPFooter(ByteBuf in)Read the GZIP footer.private booleanJdkZlibDecoder. readGZIPHeader(ByteBuf in)private static intSnappy. readPreamble(ByteBuf in)Reads the length varint (a series of bytes, where the lower 7 bits are data and the upper bit is a flag to indicate more bytes to be read).private static intFastLz. readU16(ByteBuf data, int offset)(package private) static java.nio.ByteBufferCompressionUtil. safeNioBuffer(ByteBuf buffer, int index, int length)(package private) static java.nio.ByteBufferCompressionUtil. safeReadableNioBuffer(ByteBuf buffer)(package private) voidBzip2BitReader. setByteBuf(ByteBuf in)Set theByteBuffrom which to read data.private static voidSnappyFrameEncoder. setChunkLength(ByteBuf out, int lengthIdx)private booleanJdkZlibDecoder. skipIfNeeded(ByteBuf in, int flagMask)Skip bytes in the input if needed until we find the end marker0x00.voidByteBufChecksum.ReflectiveByteBufChecksum. update(ByteBuf b, int off, int len)voidByteBufChecksum. update(ByteBuf b, int off, int len)(package private) static voidSnappy. validateChecksum(int expectedChecksum, ByteBuf data)Computes the CRC32C checksum of the supplied data, performs the "mask" operation on the computed checksum, and then compares the resulting masked checksum to the supplied checksum.(package private) static voidSnappy. validateChecksum(int expectedChecksum, ByteBuf data, int offset, int length)Computes the CRC32C checksum of the supplied data, performs the "mask" operation on the computed checksum, and then compares the resulting masked checksum to the supplied checksum.private booleanJdkZlibDecoder. verifyCrc(ByteBuf in)Verifies CRC.private booleanJdkZlibDecoder. verifyCrc16(ByteBuf in)(package private) intBzip2BlockCompressor. write(ByteBuf buffer, int offset, int length)Writes an array to the block.(package private) voidBzip2BitWriter. writeBits(ByteBuf out, int count, long value)Writes up to 32 bits to the outputByteBuf.private voidBzip2HuffmanStageEncoder. writeBlockData(ByteBuf out)Writes out the encoded block data.(package private) voidBzip2BitWriter. writeBoolean(ByteBuf out, boolean value)Writes a single bit to the outputByteBuf.private static voidSnappyFrameEncoder. writeChunkLength(ByteBuf out, int chunkLength)Writes the 2-byte chunk length to the output buffer.(package private) voidBzip2BitWriter. writeInt(ByteBuf out, int value)Writes an integer as 32 bits to the outputByteBuf.private voidBzip2HuffmanStageEncoder. writeSelectorsAndHuffmanTables(ByteBuf out)Write out the selector list and Huffman tables.private voidBzip2BlockCompressor. writeSymbolMap(ByteBuf out)Write the Huffman symbol to output byte map.(package private) voidBzip2BitWriter. writeUnary(ByteBuf out, int value)Writes a zero-terminated unary number to the outputByteBuf.private static voidSnappyFrameEncoder. writeUnencodedChunk(ByteBuf in, ByteBuf out, int dataLength) -
Uses of ByteBuf in io.netty.handler.codec.dns
Fields in io.netty.handler.codec.dns declared as ByteBuf Modifier and Type Field Description private ByteBufDefaultDnsRawRecord. contentMethods in io.netty.handler.codec.dns that return ByteBuf Modifier and Type Method Description protected ByteBufDatagramDnsQueryEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery,java.net.InetSocketAddress> msg)Allocate aByteBufwhich will be used for constructing a datagram packet.protected ByteBufDatagramDnsResponseEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> msg)Allocate aByteBufwhich will be used for constructing a datagram packet.protected ByteBufTcpDnsQueryEncoder. allocateBuffer(ChannelHandlerContext ctx, DnsQuery msg, boolean preferDirect)ByteBufDefaultDnsRawRecord. content()(package private) static ByteBufDnsCodecUtil. decompressDomainName(ByteBuf compression)Decompress pointer data.protected ByteBufTcpDnsResponseDecoder. extractFrame(ChannelHandlerContext ctx, ByteBuf buffer, int index, int length)Methods in io.netty.handler.codec.dns with parameters of type ByteBuf Modifier and Type Method Description (package private) DnsResponseDnsResponseDecoder. decode(A sender, A recipient, ByteBuf buffer)protected java.lang.ObjectTcpDnsQueryDecoder. decode(ChannelHandlerContext ctx, ByteBuf in)protected java.lang.ObjectTcpDnsResponseDecoder. decode(ChannelHandlerContext ctx, ByteBuf in)(package private) static DnsQueryDnsMessageUtil. decodeDnsQuery(DnsRecordDecoder decoder, ByteBuf buf, DnsMessageUtil.DnsQueryFactory supplier)(package private) static java.lang.StringDnsCodecUtil. decodeDomainName(ByteBuf in)static java.lang.StringDefaultDnsRecordDecoder. decodeName(ByteBuf in)Retrieves a domain name given a buffer containing a DNS packet.protected java.lang.StringDefaultDnsRecordDecoder. decodeName0(ByteBuf in)Retrieves a domain name given a buffer containing a DNS packet.DnsQuestionDefaultDnsRecordDecoder. decodeQuestion(ByteBuf in)DnsQuestionDnsRecordDecoder. decodeQuestion(ByteBuf in)Decodes a DNS question into its object representation.private static voidDnsMessageUtil. decodeQuestions(DnsRecordDecoder decoder, DnsQuery query, ByteBuf buf, int questionCount)private voidDnsResponseDecoder. decodeQuestions(DnsResponse response, ByteBuf buf, int questionCount)<T extends DnsRecord>
TDefaultDnsRecordDecoder. decodeRecord(ByteBuf in)protected DnsRecordDefaultDnsRecordDecoder. decodeRecord(java.lang.String name, DnsRecordType type, int dnsClass, long timeToLive, ByteBuf in, int offset, int length)Decodes a record from the information decoded so far byDefaultDnsRecordDecoder.decodeRecord(ByteBuf).<T extends DnsRecord>
TDnsRecordDecoder. decodeRecord(ByteBuf in)Decodes a DNS record into its object representation.private static voidDnsMessageUtil. decodeRecords(DnsRecordDecoder decoder, DnsQuery query, DnsSection section, ByteBuf buf, int count)private booleanDnsResponseDecoder. decodeRecords(DnsResponse response, DnsSection section, ByteBuf buf, int count)(package private) static ByteBufDnsCodecUtil. decompressDomainName(ByteBuf compression)Decompress pointer data.(package private) voidDnsQueryEncoder. encode(DnsQuery query, ByteBuf out)protected voidTcpDnsQueryEncoder. encode(ChannelHandlerContext ctx, DnsQuery msg, ByteBuf out)(package private) static voidDnsMessageUtil. encodeDnsResponse(DnsRecordEncoder encoder, DnsResponse response, ByteBuf buf)(package private) static voidDnsCodecUtil. encodeDomainName(java.lang.String name, ByteBuf buf)private static voidDnsMessageUtil. encodeHeader(DnsResponse response, ByteBuf buf)Encodes the header that is always 12 bytes long.private static voidDnsQueryEncoder. encodeHeader(DnsQuery query, ByteBuf buf)Encodes the header that is always 12 bytes long.protected voidDefaultDnsRecordEncoder. encodeName(java.lang.String name, ByteBuf buf)private voidDefaultDnsRecordEncoder. encodeOptEcsRecord(DnsOptEcsRecord record, ByteBuf out)private voidDefaultDnsRecordEncoder. encodeOptPseudoRecord(DnsOptPseudoRecord record, ByteBuf out)private voidDefaultDnsRecordEncoder. encodePtrRecord(DnsPtrRecord record, ByteBuf out)voidDefaultDnsRecordEncoder. encodeQuestion(DnsQuestion question, ByteBuf out)voidDnsRecordEncoder. encodeQuestion(DnsQuestion question, ByteBuf out)Encodes aDnsQuestion.private static voidDnsMessageUtil. encodeQuestions(DnsRecordEncoder encoder, DnsResponse response, ByteBuf buf)private voidDnsQueryEncoder. encodeQuestions(DnsQuery query, ByteBuf buf)private voidDefaultDnsRecordEncoder. encodeRawRecord(DnsRawRecord record, ByteBuf out)voidDefaultDnsRecordEncoder. encodeRecord(DnsRecord record, ByteBuf out)voidDnsRecordEncoder. encodeRecord(DnsRecord record, ByteBuf out)Encodes aDnsRecord.private voidDefaultDnsRecordEncoder. encodeRecord0(DnsRecord record, ByteBuf out)private static voidDnsMessageUtil. encodeRecords(DnsRecordEncoder encoder, DnsResponse response, DnsSection section, ByteBuf buf)private voidDnsQueryEncoder. encodeRecords(DnsQuery query, DnsSection section, ByteBuf buf)protected ByteBufTcpDnsResponseDecoder. extractFrame(ChannelHandlerContext ctx, ByteBuf buffer, int index, int length)private static DnsQueryDnsMessageUtil. newQuery(ByteBuf buf, DnsMessageUtil.DnsQueryFactory supplier)DnsRawRecordDefaultDnsRawRecord. replace(ByteBuf content)DnsRawRecordDnsRawRecord. replace(ByteBuf content)Constructors in io.netty.handler.codec.dns with parameters of type ByteBuf Constructor Description DefaultDnsRawRecord(java.lang.String name, DnsRecordType type, int dnsClass, long timeToLive, ByteBuf content)Creates a new record.DefaultDnsRawRecord(java.lang.String name, DnsRecordType type, long timeToLive, ByteBuf content)Creates a newIN-classrecord. -
Uses of ByteBuf in io.netty.handler.codec.haproxy
Methods in io.netty.handler.codec.haproxy that return ByteBuf Modifier and Type Method Description private ByteBufHAProxyMessageDecoder. decodeLine(ChannelHandlerContext ctx, ByteBuf buffer)Create a frame out of theByteBufand return it.private ByteBufHAProxyMessageDecoder. decodeStruct(ChannelHandlerContext ctx, ByteBuf buffer)Create a frame out of theByteBufand return it.ByteBufHAProxyMessageDecoder.HeaderExtractor. extract(ChannelHandlerContext ctx, ByteBuf buffer)Create a frame out of theByteBufand return it.Methods in io.netty.handler.codec.haproxy with parameters of type ByteBuf Modifier and Type Method Description protected voidHAProxyMessageDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)(package private) static HAProxyMessageHAProxyMessage. decodeHeader(ByteBuf header)Decodes a version 2, binary proxy protocol header.private ByteBufHAProxyMessageDecoder. decodeLine(ChannelHandlerContext ctx, ByteBuf buffer)Create a frame out of theByteBufand return it.private ByteBufHAProxyMessageDecoder. decodeStruct(ChannelHandlerContext ctx, ByteBuf buffer)Create a frame out of theByteBufand return it.protected abstract intHAProxyMessageDecoder.HeaderExtractor. delimiterLength(ByteBuf buffer, int eoh)Get the length of the header delimiter.protected intHAProxyMessageDecoder.LineHeaderExtractor. delimiterLength(ByteBuf buffer, int eoh)protected intHAProxyMessageDecoder.StructHeaderExtractor. delimiterLength(ByteBuf buffer, int eoh)static ProtocolDetectionResult<HAProxyProtocolVersion>HAProxyMessageDecoder. detectProtocol(ByteBuf buffer)Returns theProtocolDetectionResultfor the givenByteBuf.protected voidHAProxyMessageEncoder. encode(ChannelHandlerContext ctx, HAProxyMessage msg, ByteBuf out)private static voidHAProxyMessageEncoder. encodeTlv(HAProxyTLV haProxyTLV, ByteBuf out)private static voidHAProxyMessageEncoder. encodeTlvs(java.util.List<HAProxyTLV> haProxyTLVs, ByteBuf out)private static voidHAProxyMessageEncoder. encodeV1(HAProxyMessage msg, ByteBuf out)private static voidHAProxyMessageEncoder. encodeV2(HAProxyMessage msg, ByteBuf out)ByteBufHAProxyMessageDecoder.HeaderExtractor. extract(ChannelHandlerContext ctx, ByteBuf buffer)Create a frame out of theByteBufand return it.private static intHAProxyMessageDecoder. findEndOfHeader(ByteBuf buffer)Returns the index in the buffer of the end of header if found.protected abstract intHAProxyMessageDecoder.HeaderExtractor. findEndOfHeader(ByteBuf buffer)Find the end of the header from the givenByteBuf,the end may be a CRLF, or the length given by the header.protected intHAProxyMessageDecoder.LineHeaderExtractor. findEndOfHeader(ByteBuf buffer)protected intHAProxyMessageDecoder.StructHeaderExtractor. findEndOfHeader(ByteBuf buffer)private static intHAProxyMessageDecoder. findEndOfLine(ByteBuf buffer)Returns the index in the buffer of the end of line found.private static intHAProxyMessageDecoder. findVersion(ByteBuf buffer)Returns the proxy protocol specification version in the buffer if the version is found.private static java.lang.StringHAProxyMessage. ipBytesToString(ByteBuf header, int addressLen)Convert ip address bytes to string representationprivate static booleanHAProxyMessageDecoder. match(byte[] prefix, ByteBuf buffer, int idx)private static HAProxyTLVHAProxyMessage. readNextTLV(ByteBuf header, int nestingLevel)private static java.util.List<HAProxyTLV>HAProxyMessage. readTlvs(ByteBuf header)HAProxyTLVHAProxyTLV. replace(ByteBuf content)Constructors in io.netty.handler.codec.haproxy with parameters of type ByteBuf Constructor Description HAProxySSLTLV(int verify, byte clientBitField, java.util.List<HAProxyTLV> tlvs, ByteBuf rawContent)Creates a new HAProxySSLTLVHAProxyTLV(byte typeByteValue, ByteBuf content)Creates a new HAProxyTLVHAProxyTLV(HAProxyTLV.Type type, byte typeByteValue, ByteBuf content)Creates a new HAProxyTLVHAProxyTLV(HAProxyTLV.Type type, ByteBuf content)Creates a new HAProxyTLV -
Uses of ByteBuf in io.netty.handler.codec.http
Fields in io.netty.handler.codec.http declared as ByteBuf Modifier and Type Field Description private ByteBufDefaultFullHttpRequest. contentprivate ByteBufDefaultFullHttpResponse. contentprivate ByteBufDefaultHttpContent. contentprivate ByteBufHttpObjectAggregator.AggregatedFullHttpMessage. contentprivate static ByteBufHttpObjectEncoder. CRLF_BUFprivate ByteBufHttpObjectDecoder. parserScratchBufferprotected ByteBufHttpObjectDecoder.HeaderParser. seqprivate static ByteBufHttpObjectEncoder. ZERO_CRLF_CRLF_BUFFields in io.netty.handler.codec.http with type parameters of type ByteBuf Modifier and Type Field Description private ChunkedInput<ByteBuf>HttpChunkedInput. inputMethods in io.netty.handler.codec.http that return ByteBuf Modifier and Type Method Description ByteBufComposedLastHttpContent. content()ByteBufDefaultFullHttpRequest. content()ByteBufDefaultFullHttpResponse. content()ByteBufDefaultHttpContent. content()ByteBufHttpObjectAggregator.AggregatedFullHttpMessage. content()private ByteBufHttpObjectEncoder. encodeInitHttpMessage(ChannelHandlerContext ctx, H m)ByteBufHttpObjectDecoder.HeaderParser. parse(ByteBuf buffer, java.lang.Runnable strictCRLFCheck)ByteBufHttpObjectDecoder.LineParser. parse(ByteBuf buffer, java.lang.Runnable strictCRLFCheck)Methods in io.netty.handler.codec.http that return types with arguments of type ByteBuf Modifier and Type Method Description MessageToByteEncoder<ByteBuf>CompressionEncoderFactory. createEncoder()MessageToByteEncoder<ByteBuf>HttpContentCompressor.DeflateEncoderFactory. createEncoder()MessageToByteEncoder<ByteBuf>HttpContentCompressor.GzipEncoderFactory. createEncoder()MessageToByteEncoder<ByteBuf>HttpContentCompressor.SnappyEncoderFactory. createEncoder()Methods in io.netty.handler.codec.http with parameters of type ByteBuf Modifier and Type Method Description protected FullHttpMessageHttpObjectAggregator. beginAggregation(HttpMessage start, ByteBuf content)protected FullHttpMessageHttpServerUpgradeHandler. beginAggregation(HttpMessage start, ByteBuf content)private static booleanHttpObjectEncoder. bypassEncoderIfEmpty(ByteBuf msg, java.util.List<java.lang.Object> out)private static voidHttpObjectDecoder. checkChunkExtensions(ByteBuf line)protected voidHttpClientCodec.Decoder. decode(ChannelHandlerContext ctx, ByteBuf buffer, java.util.List<java.lang.Object> out)protected voidHttpObjectDecoder. decode(ChannelHandlerContext ctx, ByteBuf buffer, java.util.List<java.lang.Object> out)protected voidHttpServerCodec.HttpServerRequestDecoder. decode(ChannelHandlerContext ctx, ByteBuf buffer, java.util.List<java.lang.Object> out)protected voidHttpObjectDecoder. decodeLast(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)private voidHttpContentEncoder. encode(ByteBuf in, java.util.List<java.lang.Object> out)(package private) voidHttpResponseStatus. encode(ByteBuf buf)(package private) voidHttpVersion. encode(ByteBuf buf)static voidHttpHeaders. encodeAscii(java.lang.CharSequence seq, ByteBuf buf)Deprecated.protected static voidHttpObjectEncoder. encodeAscii(java.lang.String s, ByteBuf buf)Deprecated.private voidHttpObjectEncoder. encodeByteBufAndTrailers(int state, ChannelHandlerContext ctx, java.util.List<java.lang.Object> out, ByteBuf content, HttpHeaders trailingHeaders)private voidHttpObjectEncoder. encodeByteBufContent(ChannelHandlerContext ctx, ByteBuf content, java.util.List<java.lang.Object> out)private voidHttpObjectEncoder. encodeByteBufHttpContent(int state, ChannelHandlerContext ctx, ByteBuf buf, ByteBuf content, HttpHeaders trailingHeaders, java.util.List<java.lang.Object> out)private voidHttpObjectEncoder. encodeChunkedHttpContent(ChannelHandlerContext ctx, ByteBuf content, HttpHeaders trailingHeaders, java.util.List<java.lang.Object> out)private static booleanHttpObjectEncoder. encodeContentNonChunk(java.util.List<java.lang.Object> out, ByteBuf buf, ByteBuf content)protected voidHttpObjectEncoder. encodeHeaders(HttpHeaders headers, ByteBuf buf)Encode theHttpHeadersinto aByteBuf.protected abstract voidHttpObjectEncoder. encodeInitialLine(ByteBuf buf, H message)protected voidHttpRequestEncoder. encodeInitialLine(ByteBuf buf, HttpRequest request)protected voidHttpResponseEncoder. encodeInitialLine(ByteBuf buf, HttpResponse response)(package private) static voidHttpHeadersEncoder. encoderHeader(java.lang.CharSequence name, java.lang.CharSequence value, ByteBuf buf)private HttpContentHttpObjectDecoder. invalidChunk(ByteBuf in, java.lang.Exception cause)private HttpMessageHttpObjectDecoder. invalidMessage(HttpMessage current, ByteBuf in, java.lang.Exception cause)ByteBufHttpObjectDecoder.HeaderParser. parse(ByteBuf buffer, java.lang.Runnable strictCRLFCheck)ByteBufHttpObjectDecoder.LineParser. parse(ByteBuf buffer, java.lang.Runnable strictCRLFCheck)private HttpObjectDecoder.StateHttpObjectDecoder. readHeaders(ByteBuf buffer)private LastHttpContentHttpObjectDecoder. readTrailingHeaders(ByteBuf buffer)LastHttpContentComposedLastHttpContent. replace(ByteBuf content)FullHttpRequestDefaultFullHttpRequest. replace(ByteBuf content)FullHttpResponseDefaultFullHttpResponse. replace(ByteBuf content)HttpContentDefaultHttpContent. replace(ByteBuf content)LastHttpContentDefaultLastHttpContent. replace(ByteBuf content)FullHttpMessageFullHttpMessage. replace(ByteBuf content)FullHttpRequestFullHttpRequest. replace(ByteBuf content)FullHttpResponseFullHttpResponse. replace(ByteBuf content)HttpContentHttpContent. replace(ByteBuf content)FullHttpRequestHttpObjectAggregator.AggregatedFullHttpRequest. replace(ByteBuf content)FullHttpResponseHttpObjectAggregator.AggregatedFullHttpResponse. replace(ByteBuf content)LastHttpContentLastHttpContent. replace(ByteBuf content)private booleanHttpObjectDecoder.LineParser. skipControlChars(ByteBuf buffer, int readableBytes, int readerIndex)private java.lang.String[]HttpObjectDecoder. splitInitialLine(ByteBuf asciiBuffer)private static voidHttpHeadersEncoder. writeAscii(ByteBuf buf, int offset, java.lang.CharSequence value)Constructors in io.netty.handler.codec.http with parameters of type ByteBuf Constructor Description AggregatedFullHttpMessage(HttpMessage message, ByteBuf content, HttpHeaders trailingHeaders)AggregatedFullHttpRequest(HttpRequest request, ByteBuf content, HttpHeaders trailingHeaders)AggregatedFullHttpResponse(HttpResponse message, ByteBuf content, HttpHeaders trailingHeaders)DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content)Create a full HTTP response with the given HTTP version, method, URI, and contents.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content, boolean validateHeaders)Deprecated.Use theDefaultFullHttpRequest(HttpVersion, HttpMethod, String, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)Create a full HTTP response with the given HTTP version, method, URI, contents, and factories for creating headers and trailers.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeader)Create a full HTTP response with the given HTTP version, method, URI, contents, and header and trailer objects.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeader, boolean validateRequestLine)Create a full HTTP response with the given HTTP version, method, URI, contents, and header and trailer objects.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content)Create an HTTP response with the given HTTP version, status, and contents.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, boolean validateHeaders)Deprecated.Prefer theDefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, boolean validateHeaders, boolean singleFieldHeaders)Deprecated.Prefer theDefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)Create an HTTP response with the given HTTP version, status, contents, and with headers and trailers created by the given header factories.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeaders)Create an HTTP response with the given HTTP version, status, contents, headers and trailers.DefaultHttpContent(ByteBuf content)Creates a new instance with the specified chunk content.DefaultLastHttpContent(ByteBuf content)Create a new last HTTP content message with the given contents.DefaultLastHttpContent(ByteBuf content, boolean validateHeaders)Deprecated.Prefer theDefaultLastHttpContent(ByteBuf)constructor instead, to always have header validation enabled.DefaultLastHttpContent(ByteBuf content, HttpHeaders trailingHeaders)Create a new last HTTP content message with the given contents, and trailing headers.DefaultLastHttpContent(ByteBuf content, HttpHeadersFactory trailersFactory)Create a new last HTTP content message with the given contents, and trailing headers from the given factory.HeaderParser(ByteBuf seq, int maxLength)LineParser(ByteBuf seq, int maxLength)Constructor parameters in io.netty.handler.codec.http with type arguments of type ByteBuf Constructor Description HttpChunkedInput(ChunkedInput<ByteBuf> input)Creates a new instance using the specified input.HttpChunkedInput(ChunkedInput<ByteBuf> input, LastHttpContent lastHttpContent)Creates a new instance using the specified input. -
Uses of ByteBuf in io.netty.handler.codec.http.multipart
Fields in io.netty.handler.codec.http.multipart declared as ByteBuf Modifier and Type Field Description (package private) ByteBufHttpPostBodyUtil.SeekAheadOptimize. bufferprivate ByteBufAbstractMemoryHttpData. byteBufprivate ByteBufHttpPostRequestEncoder. currentBufferThe ByteBuf currently used by the encoderprivate ByteBufHttpPostStandardRequestDecoder.UrlDecoder. outputprivate ByteBufHttpPostMultipartRequestDecoder. undecodedChunkThe current channelBufferprivate ByteBufHttpPostStandardRequestDecoder. undecodedChunkThe current channelBufferFields in io.netty.handler.codec.http.multipart with type parameters of type ByteBuf Modifier and Type Field Description private java.util.List<ByteBuf>InternalAttribute. valueMethods in io.netty.handler.codec.http.multipart that return ByteBuf Modifier and Type Method Description ByteBufAbstractHttpData. content()ByteBufAbstractMixedHttpData. content()ByteBufHttpPostRequestEncoder.WrappedFullHttpRequest. content()private static ByteBufHttpPostStandardRequestDecoder. decodeAttribute(ByteBuf b, java.nio.charset.Charset charset)private ByteBufHttpPostRequestEncoder. fillByteBuf()ByteBufAbstractDiskHttpData. getByteBuf()ByteBufAbstractMemoryHttpData. getByteBuf()Utility to go from a In Memory FileUpload to a Disk (or another implementation) FileUploadByteBufAbstractMixedHttpData. getByteBuf()ByteBufHttpData. getByteBuf()Returns the content of the file item as a ByteBuf.
Note: this method will allocate a lot of memory, if the data is currently stored on the file system.ByteBufAbstractDiskHttpData. getChunk(int length)ByteBufAbstractMemoryHttpData. getChunk(int length)ByteBufAbstractMixedHttpData. getChunk(int length)ByteBufHttpData. getChunk(int length)Returns a ChannelBuffer for the content from the current position with at most length read bytes, increasing the current position of the Bytes read.ByteBufInternalAttribute. toByteBuf()Methods in io.netty.handler.codec.http.multipart with parameters of type ByteBuf Modifier and Type Method Description voidAbstractDiskHttpData. addContent(ByteBuf buffer, boolean last)voidAbstractMemoryHttpData. addContent(ByteBuf buffer, boolean last)voidAbstractMixedHttpData. addContent(ByteBuf buffer, boolean last)voidDiskAttribute. addContent(ByteBuf buffer, boolean last)voidHttpData. addContent(ByteBuf buffer, boolean last)Add the content from the ChannelBuffervoidMemoryAttribute. addContent(ByteBuf buffer, boolean last)private static ByteBufHttpPostStandardRequestDecoder. decodeAttribute(ByteBuf b, java.nio.charset.Charset charset)(package private) static intHttpPostBodyUtil. findDelimiter(ByteBuf buffer, int index, byte[] delimiter, boolean precededByLineBreak)Try to find the delimiter, with LF or CRLF in front of it (added as delimiters) if needed(package private) static intHttpPostBodyUtil. findLastLineBreak(ByteBuf buffer, int index)Try to find last LF or CRLF as Line Breaking(package private) static intHttpPostBodyUtil. findLineBreak(ByteBuf buffer, int index)Try to find first LF or CRLF as Line Breakingprivate static booleanHttpPostMultipartRequestDecoder. loadDataMultipartOptimized(ByteBuf undecodedChunk, java.lang.String delimiter, HttpData httpData)Load the field value or file data from a Multipart requestprivate static java.lang.StringHttpPostMultipartRequestDecoder. readDelimiterOptimized(ByteBuf undecodedChunk, java.lang.String delimiter, java.nio.charset.Charset charset)Read one line up to --delimiter or --delimiter-- and if existing the CRLF or LF Read one line up to --delimiter or --delimiter-- and if existing the CRLF or LF.private static java.lang.StringHttpPostMultipartRequestDecoder. readLineOptimized(ByteBuf undecodedChunk, java.nio.charset.Charset charset)Read one line up to the CRLF or LFDAbstractMixedHttpData. replace(ByteBuf content)AttributeAttribute. replace(ByteBuf content)AttributeDiskAttribute. replace(ByteBuf content)FileUploadDiskFileUpload. replace(ByteBuf content)FileUploadFileUpload. replace(ByteBuf content)HttpDataHttpData. replace(ByteBuf content)FullHttpRequestHttpPostRequestEncoder.WrappedFullHttpRequest. replace(ByteBuf content)AttributeMemoryAttribute. replace(ByteBuf content)FileUploadMemoryFileUpload. replace(ByteBuf content)AttributeMixedAttribute. replace(ByteBuf content)FileUploadMixedFileUpload. replace(ByteBuf content)private static voidHttpPostMultipartRequestDecoder. rewriteCurrentBuffer(ByteBuf buffer, int lengthToSkip)Rewrite buffer in order to skip lengthToSkip bytes from current readerIndex, such that any readable bytes available after readerIndex + lengthToSkip (so before writerIndex) are moved at readerIndex position, therefore decreasing writerIndex of lengthToSkip at the end of the process.voidAbstractDiskHttpData. setContent(ByteBuf buffer)voidAbstractMemoryHttpData. setContent(ByteBuf buffer)voidAbstractMixedHttpData. setContent(ByteBuf buffer)voidHttpData. setContent(ByteBuf buffer)Set the content from the ChannelBuffer (erase any previous data)private voidHttpPostStandardRequestDecoder. setFinalBuffer(ByteBuf buffer)private static voidHttpPostMultipartRequestDecoder. skipControlCharacters(ByteBuf undecodedChunk)Skip control Charactersprivate static voidHttpPostMultipartRequestDecoder. skipControlCharactersStandard(ByteBuf undecodedChunk)Constructors in io.netty.handler.codec.http.multipart with parameters of type ByteBuf Constructor Description SeekAheadOptimize(ByteBuf buffer)UrlDecoder(ByteBuf output) -
Uses of ByteBuf in io.netty.handler.codec.http.websocketx
Fields in io.netty.handler.codec.http.websocketx declared as ByteBuf Modifier and Type Field Description private static ByteBufWebSocket00FrameEncoder. _0X00private static ByteBufWebSocket00FrameEncoder. _0XFFprivate static ByteBufWebSocket00FrameEncoder. _0XFF_0X00private ByteBufWebSocketClientHandshaker00. expectedChallengeResponseBytesFields in io.netty.handler.codec.http.websocketx with type parameters of type ByteBuf Modifier and Type Field Description private ChunkedInput<ByteBuf>WebSocketChunkedInput. inputMethods in io.netty.handler.codec.http.websocketx that return ByteBuf Modifier and Type Method Description private static ByteBufContinuationWebSocketFrame. fromText(java.lang.String text)Sets the string for this frame.private static ByteBufTextWebSocketFrame. fromText(java.lang.String text)private static ByteBufCloseWebSocketFrame. newBinaryData(int statusCode, java.lang.String reasonText)Methods in io.netty.handler.codec.http.websocketx with parameters of type ByteBuf Modifier and Type Method Description protected WebSocketFrameWebSocketFrameAggregator. beginAggregation(WebSocketFrame start, ByteBuf content)voidUtf8Validator. check(ByteBuf buffer)(package private) voidUtf8Validator. check(ByteBuf buffer, int index, int length)protected voidWebSocket08FrameDecoder. checkCloseFrameBody(ChannelHandlerContext ctx, ByteBuf buffer)private voidUtf8FrameValidator. checkUTF8String(ByteBuf buffer)protected voidWebSocket00FrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidWebSocket08FrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)private WebSocketFrameWebSocket00FrameDecoder. decodeBinaryFrame(ChannelHandlerContext ctx, byte type, ByteBuf buffer)private WebSocketFrameWebSocket00FrameDecoder. decodeTextFrame(ChannelHandlerContext ctx, ByteBuf buffer)private voidWebSocket08FrameDecoder. protocolViolation(ChannelHandlerContext ctx, ByteBuf in, CorruptedWebSocketFrameException ex)private voidWebSocket08FrameDecoder. protocolViolation(ChannelHandlerContext ctx, ByteBuf in, WebSocketCloseStatus status, java.lang.String reason)private voidWebSocket08FrameDecoder. protocolViolation(ChannelHandlerContext ctx, ByteBuf in, java.lang.String reason)BinaryWebSocketFrameBinaryWebSocketFrame. replace(ByteBuf content)CloseWebSocketFrameCloseWebSocketFrame. replace(ByteBuf content)ContinuationWebSocketFrameContinuationWebSocketFrame. replace(ByteBuf content)PingWebSocketFramePingWebSocketFrame. replace(ByteBuf content)PongWebSocketFramePongWebSocketFrame. replace(ByteBuf content)TextWebSocketFrameTextWebSocketFrame. replace(ByteBuf content)abstract WebSocketFrameWebSocketFrame. replace(ByteBuf content)private voidWebSocket08FrameDecoder. unmask(ByteBuf frame)Constructors in io.netty.handler.codec.http.websocketx with parameters of type ByteBuf Constructor Description BinaryWebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData)Creates a new binary frame with the specified binary data and the final fragment flag.BinaryWebSocketFrame(ByteBuf binaryData)Creates a new binary frame with the specified binary data.CloseWebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData)Creates a new close frameContinuationWebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData)Creates a new continuation frame with the specified binary data.ContinuationWebSocketFrame(ByteBuf binaryData)Creates a new continuation frame with the specified binary data.PingWebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData)Creates a new ping frame with the specified binary data.PingWebSocketFrame(ByteBuf binaryData)Creates a new ping frame with the specified binary data.PongWebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData)Creates a new pong frame with the specified binary dataPongWebSocketFrame(ByteBuf binaryData)Creates a new pong frame with the specified binary data.TextWebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData)Creates a new text frame with the specified binary data and the final fragment flag.TextWebSocketFrame(ByteBuf binaryData)Creates a new text frame with the specified binary data.WebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData)WebSocketFrame(ByteBuf binaryData)Constructor parameters in io.netty.handler.codec.http.websocketx with type arguments of type ByteBuf Constructor Description WebSocketChunkedInput(ChunkedInput<ByteBuf> input)Creates a new instance using the specified input.WebSocketChunkedInput(ChunkedInput<ByteBuf> input, int rsv)Creates a new instance using the specified input. -
Uses of ByteBuf in io.netty.handler.codec.http.websocketx.extensions.compression
Fields in io.netty.handler.codec.http.websocketx.extensions.compression declared as ByteBuf Modifier and Type Field Description (package private) static ByteBufDeflateDecoder. EMPTY_DEFLATE_BLOCK(package private) static ByteBufDeflateDecoder. FRAME_TAILMethods in io.netty.handler.codec.http.websocketx.extensions.compression that return ByteBuf Modifier and Type Method Description private ByteBufDeflateEncoder. compressContent(ChannelHandlerContext ctx, WebSocketFrame msg)private ByteBufDeflateDecoder. decompressContent(ChannelHandlerContext ctx, WebSocketFrame msg) -
Uses of ByteBuf in io.netty.handler.codec.http2
Fields in io.netty.handler.codec.http2 declared as ByteBuf Modifier and Type Field Description private ByteBufHttp2ConnectionHandler.PrefaceDecoder. clientPrefaceStringprivate static ByteBufCleartextHttp2ServerUpgradeHandler. CONNECTION_PREFACEprivate static ByteBufHttp2CodecUtil. CONNECTION_PREFACEprivate ByteBufDefaultHttp2DataFrame. content(package private) ByteBufStreamBufferingEncoder.DataFrame. dataprivate ByteBufDefaultHttp2FrameReader.HeadersBlockBuilder. headerBlockprivate static ByteBufHttp2ConnectionHandler. HTTP_1_X_BUF(package private) ByteBufHpackHuffmanEncoder.EncodeProcessor. outprivate ByteBufDefaultHttp2HeadersEncoder. tableSizeChangeOutputprivate static ByteBufDefaultHttp2FrameWriter. ZERO_BUFFERThis buffer is allocated to the maximum size of the padding field, and filled with zeros.Fields in io.netty.handler.codec.http2 with type parameters of type ByteBuf Modifier and Type Field Description private ChunkedInput<ByteBuf>Http2DataChunkedInput. inputMethods in io.netty.handler.codec.http2 that return ByteBuf Modifier and Type Method Description private static ByteBufHttp2ConnectionHandler. clientPrefaceString(Http2Connection connection)Returns the client preface string if this is a client connection, otherwise returnsnull.static ByteBufHttp2CodecUtil. connectionPrefaceBuf()Returns a buffer containing theHttp2CodecUtil.CONNECTION_PREFACE.ByteBufDefaultHttp2DataFrame. content()ByteBufHttp2DataFrame. content()Payload of DATA frame.ByteBufHttp2GoAwayFrame. content()Optional debugging information describing cause the GOAWAY.private static ByteBufHttp2ServerUpgradeCodec. createSettingsFrame(ChannelHandlerContext ctx, ByteBuf payload)Creates an HTTP2-Settings header with the given payload.private static ByteBufCompressorHttp2ConnectionEncoder. nextReadableBuf(EmbeddedChannel compressor)static ByteBufHttp2CodecUtil. toByteBuf(ChannelHandlerContext ctx, java.lang.Throwable cause)Creates a buffer containing the error message from the given exception.Methods in io.netty.handler.codec.http2 with parameters of type ByteBuf Modifier and Type Method Description (package private) voidDefaultHttp2FrameReader.HeadersBlockBuilder. addFragment(ByteBuf fragment, int len, ByteBufAllocator alloc, boolean endOfHeaders)Adds a fragment to the block.private static ByteBufHttp2ServerUpgradeCodec. createSettingsFrame(ChannelHandlerContext ctx, ByteBuf payload)Creates an HTTP2-Settings header with the given payload.protected voidCleartextHttp2ServerUpgradeHandler. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)Peek inbound message to determine current connection wants to start HTTP/2 by HTTP upgrade or prior knowledge(package private) voidHpackDecoder. decode(int streamId, ByteBuf in, Http2Headers headers, boolean validateHeaders)Decode the header block into header fields.private voidHpackDecoder. decode(ByteBuf in, HpackDecoder.Http2HeadersSink sink)AsciiStringHpackHuffmanDecoder. decode(ByteBuf buf, int length)Decompresses the given Huffman coded string literal.abstract voidHttp2ConnectionHandler.BaseDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidHttp2ConnectionHandler. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)voidHttp2ConnectionHandler.FrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)voidHttp2ConnectionHandler.PrefaceDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)private voidHpackDecoder. decodeDynamicTableSizeUpdates(ByteBuf in)voidDecoratingHttp2ConnectionDecoder. decodeFrame(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)voidDefaultHttp2ConnectionDecoder. decodeFrame(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)voidHttp2ConnectionDecoder. decodeFrame(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)Called by theHttp2ConnectionHandlerto decode the next frame from the input buffer.Http2HeadersDefaultHttp2HeadersDecoder. decodeHeaders(int streamId, ByteBuf headerBlock)Http2HeadersHttp2HeadersDecoder. decodeHeaders(int streamId, ByteBuf headerBlock)Decodes the given headers block and returns the headers.private Http2SettingsHttp2ServerUpgradeCodec. decodeSettings(ChannelHandlerContext ctx, ByteBuf frame)Decodes the settings frame and returns the settings.(package private) static intHpackDecoder. decodeULE128(ByteBuf in, int result)Unsigned Little Endian Base 128 Variable-Length Integer Encoding(package private) static longHpackDecoder. decodeULE128(ByteBuf in, long result)Unsigned Little Endian Base 128 Variable-Length Integer Encoding(package private) intDelegatingDecompressorFrameListener.Http2Decompressor. decompress(ChannelHandlerContext ctx, Http2Stream stream, ByteBuf data, int padding, boolean endOfStream)voidHpackHuffmanEncoder. encode(ByteBuf out, java.lang.CharSequence data)Compresses the input string literal using the Huffman coding.private voidHpackEncoder. encodeAndAddEntries(ByteBuf out, java.lang.CharSequence name, int nameHash, java.lang.CharSequence value, int valueHash)private voidHpackEncoder. encodeHeader(ByteBuf out, java.lang.CharSequence name, java.lang.CharSequence value, boolean sensitive, long headerSize)Encode the header field into the header block.voidDefaultHttp2HeadersEncoder. encodeHeaders(int streamId, Http2Headers headers, ByteBuf buffer)voidHpackEncoder. encodeHeaders(int streamId, ByteBuf out, Http2Headers headers, Http2HeadersEncoder.SensitivityDetector sensitivityDetector)Encode the header field into the header block.voidHttp2HeadersEncoder. encodeHeaders(int streamId, Http2Headers headers, ByteBuf buffer)Encodes the given headers and writes the output headers block to the given output buffer.private voidHpackEncoder. encodeHeadersEnforceMaxHeaderListSize(int streamId, ByteBuf out, Http2Headers headers, Http2HeadersEncoder.SensitivityDetector sensitivityDetector)private voidHpackEncoder. encodeHeadersIgnoreMaxHeaderListSize(ByteBuf out, Http2Headers headers, Http2HeadersEncoder.SensitivityDetector sensitivityDetector)private static voidHpackEncoder. encodeInteger(ByteBuf out, int mask, int n, int i)Encode integer according to Section 5.1.private static voidHpackEncoder. encodeInteger(ByteBuf out, int mask, int n, long i)Encode integer according to Section 5.1.private voidHpackEncoder. encodeLiteral(ByteBuf out, java.lang.CharSequence name, java.lang.CharSequence value, HpackUtil.IndexType indexType, int nameIndex)Encode literal header field according to Section 6.2.private voidHpackHuffmanEncoder. encodeSlowPath(ByteBuf out, java.lang.CharSequence data)private voidHpackEncoder. encodeStringLiteral(ByteBuf out, java.lang.CharSequence string)Encode string literal according to Section 5.2.ChannelFutureHttp2ConnectionHandler. goAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)ChannelFutureHttp2LifecycleManager. goAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)Prevents the peer from creating streams and close the connection iferrorCodeis notHttp2Error.NO_ERROR.voidDefaultHttp2Connection. goAwayReceived(int lastKnownStream, long errorCode, ByteBuf debugData)voidHttp2Connection. goAwayReceived(int lastKnownStream, long errorCode, ByteBuf message)Indicates that aGOAWAYwas received from the remote endpoint and sets the last known stream.booleanDefaultHttp2Connection. goAwaySent(int lastKnownStream, long errorCode, ByteBuf debugData)booleanHttp2Connection. goAwaySent(int lastKnownStream, long errorCode, ByteBuf message)Updates the local state of thisHttp2Connectionas a result of aGOAWAYto send to the remote endpoint.voidHttp2FrameLogger. logData(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream)voidHttp2FrameLogger. logGoAway(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData)voidHttp2FrameLogger. logUnknownFrame(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf data)protected Http2StreamFrameHttp2FrameCodec. newHttp2UnknownFrame(byte frameType, int streamId, Http2Flags flags, ByteBuf payload)Create a Http2UnknownFrame.private static java.lang.IllegalArgumentExceptionHpackDecoder. notEnoughDataException(ByteBuf in)intDefaultHttp2ConnectionDecoder.FrameReadListener. onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)intDefaultHttp2ConnectionDecoder.PrefaceFrameListener. onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)intDelegatingDecompressorFrameListener. onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)intHttp2EmptyDataFrameListener. onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)intHttp2EventAdapter. onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)intHttp2FrameAdapter. onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)intHttp2FrameCodec.FrameListener. onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)intHttp2FrameListener. onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)Handles an inboundDATAframe.intHttp2FrameListenerDecorator. onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)intInboundHttp2ToHttpAdapter. onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)voidDefaultHttp2ConnectionDecoder.FrameReadListener. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData)voidDefaultHttp2ConnectionDecoder.PrefaceFrameListener. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData)voidHttp2EventAdapter. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData)voidHttp2FrameAdapter. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData)voidHttp2FrameCodec.FrameListener. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData)voidHttp2FrameListener. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData)Handles an inboundGO_AWAYframe.voidHttp2FrameListenerDecorator. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData)(package private) voidDefaultHttp2ConnectionDecoder. onGoAwayRead0(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData)voidHttp2Connection.Listener. onGoAwayReceived(int lastStreamId, long errorCode, ByteBuf debugData)Called when aGOAWAYwas received from the remote endpoint.voidHttp2ConnectionAdapter. onGoAwayReceived(int lastStreamId, long errorCode, ByteBuf debugData)voidHttp2EventAdapter. onGoAwayReceived(int lastStreamId, long errorCode, ByteBuf debugData)voidHttp2Connection.Listener. onGoAwaySent(int lastStreamId, long errorCode, ByteBuf debugData)Called when aGOAWAYframe was sent for the connection.voidHttp2ConnectionAdapter. onGoAwaySent(int lastStreamId, long errorCode, ByteBuf debugData)voidHttp2EventAdapter. onGoAwaySent(int lastStreamId, long errorCode, ByteBuf debugData)voidDefaultHttp2ConnectionDecoder.FrameReadListener. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload)voidDefaultHttp2ConnectionDecoder.PrefaceFrameListener. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload)voidHttp2EventAdapter. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload)voidHttp2FrameAdapter. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload)voidHttp2FrameCodec.FrameListener. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload)voidHttp2FrameListener. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload)Handler for a frame not defined by the HTTP/2 spec.voidHttp2FrameListenerDecorator. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload)private booleanDefaultHttp2FrameReader. preProcessFrame(ByteBuf in)(package private) abstract voidDefaultHttp2FrameReader.HeadersContinuation. processFragment(boolean endOfHeaders, ByteBuf fragment, int len, Http2FrameListener listener)Processes the next fragment for the current header block.private static voidHttp2ConnectionHandler. processGoAwayWriteResult(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelFuture future)private voidDefaultHttp2FrameReader. processPayloadState(ChannelHandlerContext ctx, ByteBuf in, Http2FrameListener listener)private booleanHttp2ConnectionHandler.PrefaceDecoder. readClientPrefaceString(ByteBuf in)Decodes the client connection preface string from the input buffer.private voidDefaultHttp2FrameReader. readContinuationFrame(ByteBuf payload, Http2FrameListener listener)private voidDefaultHttp2FrameReader. readDataFrame(ChannelHandlerContext ctx, ByteBuf payload, Http2FrameListener listener)voidDefaultHttp2FrameReader. readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener)voidHttp2FrameReader. readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener)Attempts to read the next frame from the input buffer.voidHttp2InboundFrameLogger. readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener)private voidDefaultHttp2FrameReader. readGoAwayFrame(ChannelHandlerContext ctx, ByteBuf payload, Http2FrameListener listener)private voidDefaultHttp2FrameReader. readHeadersFrame(ChannelHandlerContext ctx, ByteBuf payload, Http2FrameListener listener)private intDefaultHttp2FrameReader. readPadding(ByteBuf payload)If padding is present in the payload, reads the next byte as padding.private voidDefaultHttp2FrameReader. readPriorityFrame(ChannelHandlerContext ctx, ByteBuf payload, Http2FrameListener listener)private voidDefaultHttp2FrameReader. readPushPromiseFrame(ChannelHandlerContext ctx, ByteBuf payload, Http2FrameListener listener)private voidDefaultHttp2FrameReader. readRstStreamFrame(ChannelHandlerContext ctx, ByteBuf payload, Http2FrameListener listener)private voidDefaultHttp2FrameReader. readSettingsFrame(ChannelHandlerContext ctx, ByteBuf payload, Http2FrameListener listener)private AsciiStringHpackDecoder. readStringLiteral(ByteBuf in, int length, boolean huffmanEncoded)private voidDefaultHttp2FrameReader. readUnknownFrame(ChannelHandlerContext ctx, ByteBuf payload, Http2FrameListener listener)static intHttp2CodecUtil. readUnsignedInt(ByteBuf buf)Reads a big-endian (31-bit) integer from the buffer.private voidDefaultHttp2FrameReader. readWindowUpdateFrame(ChannelHandlerContext ctx, ByteBuf payload, Http2FrameListener listener)voidDefaultHttp2LocalFlowController. receiveFlowControlledFrame(Http2Stream stream, ByteBuf data, int padding, boolean endOfStream)voidDelegatingDecompressorFrameListener.ConsumedBytesConverter. receiveFlowControlledFrame(Http2Stream stream, ByteBuf data, int padding, boolean endOfStream)voidHttp2LocalFlowController. receiveFlowControlledFrame(Http2Stream stream, ByteBuf data, int padding, boolean endOfStream)Receives an inboundDATAframe from the remote endpoint and applies flow control policies to it for both thestreamas well as the connection.DefaultHttp2DataFrameDefaultHttp2DataFrame. replace(ByteBuf content)Http2GoAwayFrameDefaultHttp2GoAwayFrame. replace(ByteBuf content)DefaultHttp2UnknownFrameDefaultHttp2UnknownFrame. replace(ByteBuf content)Http2DataFrameHttp2DataFrame. replace(ByteBuf content)Http2GoAwayFrameHttp2GoAwayFrame. replace(ByteBuf content)Http2UnknownFrameHttp2UnknownFrame. replace(ByteBuf content)voidHpackEncoder. setMaxHeaderTableSize(ByteBuf out, long maxHeaderTableSize)Set the maximum table size.static FullHttpRequestHttpConversionUtil. toFullHttpRequest(int streamId, Http2Headers http2Headers, ByteBuf content, boolean validateHttpHeaders)Create a new object to contain the request datastatic FullHttpResponseHttpConversionUtil. toFullHttpResponse(int streamId, Http2Headers http2Headers, ByteBuf content, boolean validateHttpHeaders)Create a new object to contain the response dataprivate java.lang.StringHttp2FrameLogger. toString(ByteBuf buf)private booleanHttp2ConnectionHandler.PrefaceDecoder. verifyFirstFrameIsSettings(ByteBuf in)Peeks at that the next frame in the buffer and verifies that it is a non-ackSETTINGSframe.private ChannelFutureDefaultHttp2FrameWriter. writeContinuationFrames(ChannelHandlerContext ctx, int streamId, ByteBuf headerBlock, Http2CodecUtil.SimpleChannelPromiseAggregator promiseAggregator)Writes as many continuation frames as needed untilpaddingandheaderBlockare consumed.ChannelFutureCompressorHttp2ConnectionEncoder. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise)ChannelFutureHttp2DataWriter. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise)Writes aDATAframe to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise)ChannelFutureStreamBufferingEncoder. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)ChannelFutureHttp2ConnectionEncoder. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)Writes the given data to the internalHttp2FrameWriterwithout performing any state checks on the connection/stream.ChannelFutureHttp2FrameWriter. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)Generic write method for any HTTP/2 frame.ChannelFutureHttp2OutboundFrameLogger. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)static voidHttp2CodecUtil. writeFrameHeader(ByteBuf out, int payloadLength, byte type, Http2Flags flags, int streamId)Writes an HTTP/2 frame header to the output buffer.(package private) static voidHttp2CodecUtil. writeFrameHeaderInternal(ByteBuf out, int payloadLength, byte type, Http2Flags flags, int streamId)ChannelFutureDecoratingHttp2FrameWriter. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)ChannelFutureHttp2FrameWriter. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)Writes a GO_AWAY frame to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)private static voidDefaultHttp2FrameWriter. writePaddingLength(ByteBuf buf, int padding)Constructors in io.netty.handler.codec.http2 with parameters of type ByteBuf Constructor Description DataFrame(ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise)DefaultHttp2DataFrame(ByteBuf content)Equivalent tonew DefaultHttp2DataFrame(content, false).DefaultHttp2DataFrame(ByteBuf content, boolean endStream)Equivalent tonew DefaultHttp2DataFrame(content, endStream, 0).DefaultHttp2DataFrame(ByteBuf content, boolean endStream, int padding)Construct a new data message.DefaultHttp2GoAwayFrame(int lastStreamId, long errorCode, ByteBuf content)Construct a new GOAWAY message.DefaultHttp2GoAwayFrame(long errorCode, ByteBuf content)Construct a new GOAWAY message.DefaultHttp2GoAwayFrame(Http2Error error, ByteBuf content)DefaultHttp2UnknownFrame(byte frameType, Http2Flags flags, ByteBuf data)FlowControlledData(Http2Stream stream, ByteBuf buf, int padding, boolean endOfStream, ChannelPromise promise)Constructor parameters in io.netty.handler.codec.http2 with type arguments of type ByteBuf Constructor Description Http2DataChunkedInput(ChunkedInput<ByteBuf> input, Http2FrameStream stream)Creates a new instance using the specified input. -
Uses of ByteBuf in io.netty.handler.codec.json
Methods in io.netty.handler.codec.json that return ByteBuf Modifier and Type Method Description protected ByteBufJsonObjectDecoder. extractObject(ChannelHandlerContext ctx, ByteBuf buffer, int index, int length)Override this method if you want to filter the json objects/arrays that get passed through the pipeline.Methods in io.netty.handler.codec.json with parameters of type ByteBuf Modifier and Type Method Description protected voidJsonObjectDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)private voidJsonObjectDecoder. decodeByte(byte c, ByteBuf in, int idx)protected ByteBufJsonObjectDecoder. extractObject(ChannelHandlerContext ctx, ByteBuf buffer, int index, int length)Override this method if you want to filter the json objects/arrays that get passed through the pipeline. -
Uses of ByteBuf in io.netty.handler.codec.memcache
Fields in io.netty.handler.codec.memcache declared as ByteBuf Modifier and Type Field Description private ByteBufDefaultMemcacheContent. contentMethods in io.netty.handler.codec.memcache that return ByteBuf Modifier and Type Method Description ByteBufDefaultMemcacheContent. content()protected abstract ByteBufAbstractMemcacheObjectEncoder. encodeMessage(ChannelHandlerContext ctx, M msg)Take the givenMemcacheMessageand encode it into a writableByteBuf.Methods in io.netty.handler.codec.memcache with parameters of type ByteBuf Modifier and Type Method Description LastMemcacheContentDefaultLastMemcacheContent. replace(ByteBuf content)MemcacheContentDefaultMemcacheContent. replace(ByteBuf content)FullMemcacheMessageFullMemcacheMessage. replace(ByteBuf content)LastMemcacheContentLastMemcacheContent. replace(ByteBuf content)MemcacheContentMemcacheContent. replace(ByteBuf content)Constructors in io.netty.handler.codec.memcache with parameters of type ByteBuf Constructor Description DefaultLastMemcacheContent(ByteBuf content)DefaultMemcacheContent(ByteBuf content)Creates a new instance with the specified content. -
Uses of ByteBuf in io.netty.handler.codec.memcache.binary
Fields in io.netty.handler.codec.memcache.binary declared as ByteBuf Modifier and Type Field Description private ByteBufDefaultFullBinaryMemcacheRequest. contentprivate ByteBufDefaultFullBinaryMemcacheResponse. contentprivate ByteBufAbstractBinaryMemcacheMessage. extrasContains the optional extras.private ByteBufAbstractBinaryMemcacheMessage. keyContains the optional key.Methods in io.netty.handler.codec.memcache.binary that return ByteBuf Modifier and Type Method Description ByteBufDefaultFullBinaryMemcacheRequest. content()ByteBufDefaultFullBinaryMemcacheResponse. content()protected ByteBufAbstractBinaryMemcacheEncoder. encodeMessage(ChannelHandlerContext ctx, M msg)ByteBufAbstractBinaryMemcacheMessage. extras()ByteBufBinaryMemcacheMessage. extras()Returns aByteBufrepresentation of the optional extras.ByteBufAbstractBinaryMemcacheMessage. key()ByteBufBinaryMemcacheMessage. key()Returns the optional key of the document.Methods in io.netty.handler.codec.memcache.binary with parameters of type ByteBuf Modifier and Type Method Description protected FullMemcacheMessageBinaryMemcacheObjectAggregator. beginAggregation(BinaryMemcacheMessage start, ByteBuf content)protected voidAbstractBinaryMemcacheDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidBinaryMemcacheClientCodec.Decoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected abstract MAbstractBinaryMemcacheDecoder. decodeHeader(ByteBuf in)Decode and return the parsedBinaryMemcacheMessage.protected BinaryMemcacheRequestBinaryMemcacheRequestDecoder. decodeHeader(ByteBuf in)protected BinaryMemcacheResponseBinaryMemcacheResponseDecoder. decodeHeader(ByteBuf in)private static voidAbstractBinaryMemcacheEncoder. encodeExtras(ByteBuf buf, ByteBuf extras)Encode the extras.protected abstract voidAbstractBinaryMemcacheEncoder. encodeHeader(ByteBuf buf, M msg)Encode the header.protected voidBinaryMemcacheRequestEncoder. encodeHeader(ByteBuf buf, BinaryMemcacheRequest msg)protected voidBinaryMemcacheResponseEncoder. encodeHeader(ByteBuf buf, BinaryMemcacheResponse msg)private static voidAbstractBinaryMemcacheEncoder. encodeKey(ByteBuf buf, ByteBuf key)Encode the key.private DefaultFullBinaryMemcacheRequestDefaultFullBinaryMemcacheRequest. newInstance(ByteBuf key, ByteBuf extras, ByteBuf content)private FullBinaryMemcacheResponseDefaultFullBinaryMemcacheResponse. newInstance(ByteBuf key, ByteBuf extras, ByteBuf content)FullBinaryMemcacheRequestDefaultFullBinaryMemcacheRequest. replace(ByteBuf content)FullBinaryMemcacheResponseDefaultFullBinaryMemcacheResponse. replace(ByteBuf content)FullBinaryMemcacheRequestFullBinaryMemcacheRequest. replace(ByteBuf content)FullBinaryMemcacheResponseFullBinaryMemcacheResponse. replace(ByteBuf content)BinaryMemcacheMessageAbstractBinaryMemcacheMessage. setExtras(ByteBuf extras)BinaryMemcacheMessageBinaryMemcacheMessage. setExtras(ByteBuf extras)Sets the extras buffer on the message.BinaryMemcacheMessageAbstractBinaryMemcacheMessage. setKey(ByteBuf key)BinaryMemcacheMessageBinaryMemcacheMessage. setKey(ByteBuf key)Sets the key of the document.private static FullBinaryMemcacheRequestBinaryMemcacheObjectAggregator. toFullRequest(BinaryMemcacheRequest request, ByteBuf content)private static FullBinaryMemcacheResponseBinaryMemcacheObjectAggregator. toFullResponse(BinaryMemcacheResponse response, ByteBuf content) -
Uses of ByteBuf in io.netty.handler.codec.mqtt
Fields in io.netty.handler.codec.mqtt declared as ByteBuf Modifier and Type Field Description private ByteBufMqttMessageBuilders.PublishBuilder. payloadMethods in io.netty.handler.codec.mqtt with parameters of type ByteBuf Modifier and Type Method Description protected voidMqttDecoder. decode(ChannelHandlerContext ctx, ByteBuf buffer, java.util.List<java.lang.Object> out)private static byte[]MqttDecoder. decodeByteArray(ByteBuf buffer)private MqttConnAckVariableHeaderMqttDecoder. decodeConnAckVariableHeader(ChannelHandlerContext ctx, ByteBuf buffer)private MqttConnectPayloadMqttDecoder. decodeConnectionPayload(ByteBuf buffer, int maxClientIdLength, MqttConnectVariableHeader mqttConnectVariableHeader)private MqttConnectVariableHeaderMqttDecoder. decodeConnectionVariableHeader(ChannelHandlerContext ctx, ByteBuf buffer)private static MqttFixedHeaderMqttDecoder. decodeFixedHeader(ChannelHandlerContext ctx, ByteBuf buffer)Decodes the fixed header.private static intMqttDecoder. decodeMessageId(ByteBuf buffer)private MqttMessageIdAndPropertiesVariableHeaderMqttDecoder. decodeMessageIdAndPropertiesVariableHeader(ChannelHandlerContext ctx, ByteBuf buffer)private static intMqttDecoder. decodeMsbLsb(ByteBuf buffer)numberOfBytesConsumed = 2.private java.lang.ObjectMqttDecoder. decodePayload(ChannelHandlerContext ctx, ByteBuf buffer, MqttMessageType messageType, int maxClientIdLength, java.lang.Object variableHeader)Decodes the payload.private static MqttDecoder.Result<MqttProperties>MqttDecoder. decodeProperties(ByteBuf buffer)private ByteBufMqttDecoder. decodePublishPayload(ByteBuf buffer)private MqttPublishVariableHeaderMqttDecoder. decodePublishVariableHeader(ChannelHandlerContext ctx, ByteBuf buffer, MqttFixedHeader mqttFixedHeader)private MqttPubReplyMessageVariableHeaderMqttDecoder. decodePubReplyMessage(ByteBuf buffer)private MqttReasonCodeAndPropertiesVariableHeaderMqttDecoder. decodeReasonCodeAndPropertiesVariableHeader(ByteBuf buffer)private static MqttDecoder.Result<java.lang.String>MqttDecoder. decodeString(ByteBuf buffer)private static MqttDecoder.Result<java.lang.String>MqttDecoder. decodeString(ByteBuf buffer, int minBytes, int maxBytes)private MqttSubAckPayloadMqttDecoder. decodeSubackPayload(ByteBuf buffer)private MqttSubscribePayloadMqttDecoder. decodeSubscribePayload(ByteBuf buffer)private MqttUnsubAckPayloadMqttDecoder. decodeUnsubAckPayload(ChannelHandlerContext ctx, ByteBuf buffer)private MqttUnsubscribePayloadMqttDecoder. decodeUnsubscribePayload(ByteBuf buffer)private static longMqttDecoder. decodeVariableByteInteger(ByteBuf buffer)See 1.5.5 Variable Byte Integer section of MQTT 5.0 specification for encoding/decoding rulesprivate java.lang.ObjectMqttDecoder. decodeVariableHeader(ChannelHandlerContext ctx, ByteBuf buffer, MqttFixedHeader mqttFixedHeader)Decodes the variable header (if any)MqttMessageBuilders.PublishBuilderMqttMessageBuilders.PublishBuilder. payload(ByteBuf payload)MqttPublishMessageMqttPublishMessage. replace(ByteBuf content)private static voidMqttEncoder. writeEagerUTF8String(ByteBuf buf, java.lang.String s)private static voidMqttEncoder. writeExactUTF8String(ByteBuf buf, java.lang.String s, int utf8Length)private static voidMqttEncoder. writeVariableLengthInt(ByteBuf buf, int num)Constructors in io.netty.handler.codec.mqtt with parameters of type ByteBuf Constructor Description MqttPublishMessage(MqttFixedHeader mqttFixedHeader, MqttPublishVariableHeader variableHeader, ByteBuf payload) -
Uses of ByteBuf in io.netty.handler.codec.redis
Fields in io.netty.handler.codec.redis with type parameters of type ByteBuf Modifier and Type Field Description private java.util.Map<ByteBuf,ErrorRedisMessage>FixedRedisMessagePool. byteBufToErrorsprivate java.util.Map<ByteBuf,IntegerRedisMessage>FixedRedisMessagePool. byteBufToIntegersprivate java.util.Map<ByteBuf,SimpleStringRedisMessage>FixedRedisMessagePool. byteBufToSimpleStringsMethods in io.netty.handler.codec.redis that return ByteBuf Modifier and Type Method Description private static ByteBufRedisDecoder. readLine(ByteBuf in)Methods in io.netty.handler.codec.redis with parameters of type ByteBuf Modifier and Type Method Description protected FullBulkStringRedisMessageRedisBulkStringAggregator. beginAggregation(BulkStringHeaderRedisMessage start, ByteBuf content)protected voidRedisDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)private booleanRedisDecoder. decodeBulkString(ByteBuf in, java.util.List<java.lang.Object> out)private booleanRedisDecoder. decodeBulkStringContent(ByteBuf in, java.util.List<java.lang.Object> out)private booleanRedisDecoder. decodeBulkStringEndOfLine(ByteBuf in, java.util.List<java.lang.Object> out)private booleanRedisDecoder. decodeInline(ByteBuf in, java.util.List<java.lang.Object> out)private booleanRedisDecoder. decodeLength(ByteBuf in, java.util.List<java.lang.Object> out)private booleanRedisDecoder. decodeType(ByteBuf in)ErrorRedisMessageFixedRedisMessagePool. getError(ByteBuf content)ErrorRedisMessageRedisMessagePool. getError(ByteBuf content)ReturnsErrorRedisMessagefor givencontent.IntegerRedisMessageFixedRedisMessagePool. getInteger(ByteBuf content)IntegerRedisMessageRedisMessagePool. getInteger(ByteBuf content)ReturnsIntegerRedisMessagefor givencontent.SimpleStringRedisMessageFixedRedisMessagePool. getSimpleString(ByteBuf content)SimpleStringRedisMessageRedisMessagePool. getSimpleString(ByteBuf content)ReturnsSimpleStringRedisMessagefor givencontent.private RedisMessageRedisDecoder. newInlineRedisMessage(RedisMessageType messageType, ByteBuf content)private longRedisDecoder. parsePositiveNumber(ByteBuf byteBuf)private longRedisDecoder. parseRedisNumber(ByteBuf byteBuf)private static voidRedisDecoder. readEndOfLine(ByteBuf in)static RedisMessageTypeRedisMessageType. readFrom(ByteBuf in, boolean decodeInlineCommands)DetermineRedisMessageTypebased on the type prefixbyteread from given the buffer.private static ByteBufRedisDecoder. readLine(ByteBuf in)BulkStringRedisContentBulkStringRedisContent. replace(ByteBuf content)BulkStringRedisContentDefaultBulkStringRedisContent. replace(ByteBuf content)LastBulkStringRedisContentDefaultLastBulkStringRedisContent. replace(ByteBuf content)FullBulkStringRedisMessageFullBulkStringRedisMessage. replace(ByteBuf content)LastBulkStringRedisContentLastBulkStringRedisContent. replace(ByteBuf content)voidRedisMessageType. writeTo(ByteBuf out)Write the message type's prefix to the given buffer.Constructors in io.netty.handler.codec.redis with parameters of type ByteBuf Constructor Description DefaultBulkStringRedisContent(ByteBuf content)Creates aDefaultBulkStringRedisContentfor the givencontent.DefaultLastBulkStringRedisContent(ByteBuf content)Creates aDefaultLastBulkStringRedisContentfor the givencontent.FullBulkStringRedisMessage(ByteBuf content)Creates aFullBulkStringRedisMessagefor the givencontent. -
Uses of ByteBuf in io.netty.handler.codec.rtsp
Methods in io.netty.handler.codec.rtsp with parameters of type ByteBuf Modifier and Type Method Description protected voidRtspEncoder. encodeInitialLine(ByteBuf buf, HttpMessage message) -
Uses of ByteBuf in io.netty.handler.codec.sctp
Fields in io.netty.handler.codec.sctp with type parameters of type ByteBuf Modifier and Type Field Description private IntObjectMap<ByteBuf>SctpMessageCompletionHandler. fragmentsMethods in io.netty.handler.codec.sctp with parameters of type ByteBuf Modifier and Type Method Description protected voidSctpOutboundByteStreamHandler. encode(ChannelHandlerContext ctx, ByteBuf msg, java.util.List<java.lang.Object> out) -
Uses of ByteBuf in io.netty.handler.codec.serialization
Methods in io.netty.handler.codec.serialization with parameters of type ByteBuf Modifier and Type Method Description protected java.lang.ObjectObjectDecoder. decode(ChannelHandlerContext ctx, ByteBuf in)Deprecated.protected voidCompatibleObjectEncoder. encode(ChannelHandlerContext ctx, java.io.Serializable msg, ByteBuf out)Deprecated.protected voidObjectEncoder. encode(ChannelHandlerContext ctx, java.io.Serializable msg, ByteBuf out)Deprecated. -
Uses of ByteBuf in io.netty.handler.codec.smtp
Fields in io.netty.handler.codec.smtp declared as ByteBuf Modifier and Type Field Description private static ByteBufSmtpRequestEncoder. DOT_CRLF_BUFFERMethods in io.netty.handler.codec.smtp with parameters of type ByteBuf Modifier and Type Method Description protected SmtpResponseSmtpResponseDecoder. decode(ChannelHandlerContext ctx, ByteBuf buffer)(package private) voidSmtpCommand. encode(ByteBuf buffer)private static DecoderExceptionSmtpResponseDecoder. newDecoderException(ByteBuf buffer, int readerIndex, int readable)private static intSmtpResponseDecoder. parseCode(ByteBuf buffer)Parses the io.netty.handler.codec.smtp code without any allocation, which is three digits.LastSmtpContentDefaultLastSmtpContent. replace(ByteBuf content)SmtpContentDefaultSmtpContent. replace(ByteBuf content)LastSmtpContentLastSmtpContent. replace(ByteBuf content)SmtpContentSmtpContent. replace(ByteBuf content)private static voidSmtpRequestEncoder. writeParameters(java.util.List<java.lang.CharSequence> parameters, ByteBuf out, boolean commandNotEmpty)Constructors in io.netty.handler.codec.smtp with parameters of type ByteBuf Constructor Description DefaultLastSmtpContent(ByteBuf data)Creates a new instance using the given data.DefaultSmtpContent(ByteBuf data)Creates a new instance using the given data. -
Uses of ByteBuf in io.netty.handler.codec.socks
Methods in io.netty.handler.codec.socks with parameters of type ByteBuf Modifier and Type Method Description protected voidSocksAuthRequestDecoder. decode(ChannelHandlerContext ctx, ByteBuf byteBuf, java.util.List<java.lang.Object> out)protected voidSocksAuthResponseDecoder. decode(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, java.util.List<java.lang.Object> out)protected voidSocksCmdRequestDecoder. decode(ChannelHandlerContext ctx, ByteBuf byteBuf, java.util.List<java.lang.Object> out)protected voidSocksCmdResponseDecoder. decode(ChannelHandlerContext ctx, ByteBuf byteBuf, java.util.List<java.lang.Object> out)protected voidSocksInitRequestDecoder. decode(ChannelHandlerContext ctx, ByteBuf byteBuf, java.util.List<java.lang.Object> out)protected voidSocksInitResponseDecoder. decode(ChannelHandlerContext ctx, ByteBuf byteBuf, java.util.List<java.lang.Object> out)protected voidSocksMessageEncoder. encode(ChannelHandlerContext ctx, SocksMessage msg, ByteBuf out)voidSocksAuthRequest. encodeAsByteBuf(ByteBuf byteBuf)voidSocksAuthResponse. encodeAsByteBuf(ByteBuf byteBuf)voidSocksCmdRequest. encodeAsByteBuf(ByteBuf byteBuf)voidSocksCmdResponse. encodeAsByteBuf(ByteBuf byteBuf)voidSocksInitRequest. encodeAsByteBuf(ByteBuf byteBuf)voidSocksInitResponse. encodeAsByteBuf(ByteBuf byteBuf)abstract voidSocksMessage. encodeAsByteBuf(ByteBuf byteBuf)Deprecated.Do not use; this method was intended for an internal use only.voidUnknownSocksRequest. encodeAsByteBuf(ByteBuf byteBuf)voidUnknownSocksResponse. encodeAsByteBuf(ByteBuf byteBuf)(package private) static java.lang.StringSocksCommonUtils. readUsAscii(ByteBuf buffer, int length) -
Uses of ByteBuf in io.netty.handler.codec.socksx
Methods in io.netty.handler.codec.socksx with parameters of type ByteBuf Modifier and Type Method Description protected voidSocksPortUnificationServerHandler. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out) -
Uses of ByteBuf in io.netty.handler.codec.socksx.v4
Methods in io.netty.handler.codec.socksx.v4 with parameters of type ByteBuf Modifier and Type Method Description protected voidSocks4ClientDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidSocks4ServerDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidSocks4ClientEncoder. encode(ChannelHandlerContext ctx, Socks4CommandRequest msg, ByteBuf out)protected voidSocks4ServerEncoder. encode(ChannelHandlerContext ctx, Socks4CommandResponse msg, ByteBuf out)private static java.lang.StringSocks4ServerDecoder. readString(java.lang.String fieldName, ByteBuf in)Reads a variable-length NUL-terminated string as defined in SOCKS4. -
Uses of ByteBuf in io.netty.handler.codec.socksx.v5
Methods in io.netty.handler.codec.socksx.v5 with parameters of type ByteBuf Modifier and Type Method Description protected voidSocks5CommandRequestDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidSocks5CommandResponseDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidSocks5InitialRequestDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidSocks5InitialResponseDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidSocks5PasswordAuthRequestDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidSocks5PasswordAuthResponseDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)java.lang.StringSocks5AddressDecoder. decodeAddress(Socks5AddressType addrType, ByteBuf in)Decodes a SOCKS5 address field into its string representation.protected voidSocks5ClientEncoder. encode(ChannelHandlerContext ctx, Socks5Message msg, ByteBuf out)protected voidSocks5ServerEncoder. encode(ChannelHandlerContext ctx, Socks5Message msg, ByteBuf out)voidSocks5AddressEncoder. encodeAddress(Socks5AddressType addrType, java.lang.String addrValue, ByteBuf out)Encodes a SOCKS5 address.private static voidSocks5ClientEncoder. encodeAuthMethodRequest(Socks5InitialRequest msg, ByteBuf out)private static voidSocks5ServerEncoder. encodeAuthMethodResponse(Socks5InitialResponse msg, ByteBuf out)private voidSocks5ClientEncoder. encodeCommandRequest(Socks5CommandRequest msg, ByteBuf out)private voidSocks5ServerEncoder. encodeCommandResponse(Socks5CommandResponse msg, ByteBuf out)private static voidSocks5ClientEncoder. encodePasswordAuthRequest(Socks5PasswordAuthRequest msg, ByteBuf out)private static voidSocks5ServerEncoder. encodePasswordAuthResponse(Socks5PasswordAuthResponse msg, ByteBuf out) -
Uses of ByteBuf in io.netty.handler.codec.spdy
Fields in io.netty.handler.codec.spdy declared as ByteBuf Modifier and Type Field Description private ByteBufSpdyHeaderBlockRawDecoder. cumulationprivate ByteBufDefaultSpdyDataFrame. dataprivate ByteBufSpdyHeaderBlockZlibDecoder. decompressedMethods in io.netty.handler.codec.spdy that return ByteBuf Modifier and Type Method Description ByteBufDefaultSpdyDataFrame. content()ByteBufSpdyDataFrame. content()Returns the data payload of this frame.(package private) abstract ByteBufSpdyHeaderBlockEncoder. encode(ByteBufAllocator alloc, SpdyHeadersFrame frame)private ByteBufSpdyHeaderBlockJZlibEncoder. encode(ByteBufAllocator alloc)ByteBufSpdyHeaderBlockJZlibEncoder. encode(ByteBufAllocator alloc, SpdyHeadersFrame frame)ByteBufSpdyHeaderBlockRawEncoder. encode(ByteBufAllocator alloc, SpdyHeadersFrame frame)private ByteBufSpdyHeaderBlockZlibEncoder. encode(ByteBufAllocator alloc, int len)ByteBufSpdyHeaderBlockZlibEncoder. encode(ByteBufAllocator alloc, SpdyHeadersFrame frame)ByteBufSpdyFrameEncoder. encodeDataFrame(ByteBufAllocator allocator, int streamId, boolean last, ByteBuf data)ByteBufSpdyFrameEncoder. encodeGoAwayFrame(ByteBufAllocator allocator, int lastGoodStreamId, int statusCode)ByteBufSpdyFrameEncoder. encodeHeadersFrame(ByteBufAllocator allocator, int streamId, boolean last, ByteBuf headerBlock)ByteBufSpdyFrameEncoder. encodePingFrame(ByteBufAllocator allocator, int id)ByteBufSpdyFrameEncoder. encodeRstStreamFrame(ByteBufAllocator allocator, int streamId, int statusCode)ByteBufSpdyFrameEncoder. encodeSettingsFrame(ByteBufAllocator allocator, SpdySettingsFrame spdySettingsFrame)ByteBufSpdyFrameEncoder. encodeSynReplyFrame(ByteBufAllocator allocator, int streamId, boolean last, ByteBuf headerBlock)ByteBufSpdyFrameEncoder. encodeSynStreamFrame(ByteBufAllocator allocator, int streamId, int associatedToStreamId, byte priority, boolean last, boolean unidirectional, ByteBuf headerBlock)ByteBufSpdyFrameEncoder. encodeUnknownFrame(ByteBufAllocator allocator, int frameType, byte flags, ByteBuf data)ByteBufSpdyFrameEncoder. encodeWindowUpdateFrame(ByteBufAllocator allocator, int streamId, int deltaWindowSize)private static ByteBufDefaultSpdyDataFrame. validate(ByteBuf data)Methods in io.netty.handler.codec.spdy with parameters of type ByteBuf Modifier and Type Method Description private booleanSpdyHeaderBlockZlibEncoder. compressInto(ByteBuf compressed)protected voidSpdyFrameCodec. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)voidSpdyFrameDecoder. decode(ByteBuf buffer)(package private) abstract voidSpdyHeaderBlockDecoder. decode(ByteBufAllocator alloc, ByteBuf headerBlock, SpdyHeadersFrame frame)Decodes a SPDY Header Block, adding the Name/Value pairs to the given Headers frame.(package private) voidSpdyHeaderBlockRawDecoder. decode(ByteBufAllocator alloc, ByteBuf headerBlock, SpdyHeadersFrame frame)(package private) voidSpdyHeaderBlockZlibDecoder. decode(ByteBufAllocator alloc, ByteBuf headerBlock, SpdyHeadersFrame frame)protected voidSpdyHeaderBlockRawDecoder. decodeHeaderBlock(ByteBuf headerBlock, SpdyHeadersFrame frame)protected booleanSpdyFrameDecoder. decodeUnknownFrame(int frameType, byte flags, int length, ByteBuf buffer)Decode the unknown frame, returns true if parsed something, otherwise false.ByteBufSpdyFrameEncoder. encodeDataFrame(ByteBufAllocator allocator, int streamId, boolean last, ByteBuf data)ByteBufSpdyFrameEncoder. encodeHeadersFrame(ByteBufAllocator allocator, int streamId, boolean last, ByteBuf headerBlock)ByteBufSpdyFrameEncoder. encodeSynReplyFrame(ByteBufAllocator allocator, int streamId, boolean last, ByteBuf headerBlock)ByteBufSpdyFrameEncoder. encodeSynStreamFrame(ByteBufAllocator allocator, int streamId, int associatedToStreamId, byte priority, boolean last, boolean unidirectional, ByteBuf headerBlock)ByteBufSpdyFrameEncoder. encodeUnknownFrame(ByteBufAllocator allocator, int frameType, byte flags, ByteBuf data)(package private) static intSpdyCodecUtil. getSignedInt(ByteBuf buf, int offset)Reads a big-endian signed integer from the buffer.(package private) static intSpdyCodecUtil. getUnsignedInt(ByteBuf buf, int offset)Reads a big-endian (31-bit) integer from the buffer.(package private) static intSpdyCodecUtil. getUnsignedMedium(ByteBuf buf, int offset)Reads a big-endian unsigned medium integer from the buffer.(package private) static intSpdyCodecUtil. getUnsignedShort(ByteBuf buf, int offset)Reads a big-endian unsigned short integer from the buffer.protected SpdyFrameSpdyFrameCodec. newSpdyUnknownFrame(int frameType, byte flags, ByteBuf payload)Create a SpdyUnknownFrame.voidSpdyFrameCodec. readDataFrame(int streamId, boolean last, ByteBuf data)voidSpdyFrameDecoderDelegate. readDataFrame(int streamId, boolean last, ByteBuf data)Called when a DATA frame is received.voidSpdyFrameCodec. readHeaderBlock(ByteBuf headerBlock)voidSpdyFrameDecoderDelegate. readHeaderBlock(ByteBuf headerBlock)Called when the header block within a SYN_STREAM, SYN_REPLY, or HEADERS frame is received.private static intSpdyHeaderBlockRawDecoder. readLengthField(ByteBuf buffer)private voidSpdyFrameCodec. readUnknownFrame(int frameType, byte flags, ByteBuf payload)voidSpdyFrameDecoderExtendedDelegate. readUnknownFrame(int frameType, byte flags, ByteBuf payload)Called when an unknown frame is received.SpdyDataFrameDefaultSpdyDataFrame. replace(ByteBuf content)DefaultSpdyUnknownFrameDefaultSpdyUnknownFrame. replace(ByteBuf content)SpdyDataFrameSpdyDataFrame. replace(ByteBuf content)SpdyUnknownFrameSpdyUnknownFrame. replace(ByteBuf content)private voidSpdyHeaderBlockJZlibEncoder. setInput(ByteBuf decompressed)private intSpdyHeaderBlockZlibDecoder. setInput(ByteBuf compressed)private intSpdyHeaderBlockZlibEncoder. setInput(ByteBuf decompressed)private static voidSpdyHeaderBlockRawEncoder. setLengthField(ByteBuf buffer, int writerIndex, int length)private static ByteBufDefaultSpdyDataFrame. validate(ByteBuf data)protected voidSpdyFrameEncoder. writeControlFrameHeader(ByteBuf buffer, int type, byte flags, int length)private static voidSpdyHeaderBlockRawEncoder. writeLengthField(ByteBuf buffer, int length)Constructors in io.netty.handler.codec.spdy with parameters of type ByteBuf Constructor Description DefaultSpdyDataFrame(int streamId, ByteBuf data)Creates a new instance.DefaultSpdyUnknownFrame(int frameType, byte flags, ByteBuf data) -
Uses of ByteBuf in io.netty.handler.codec.stomp
Fields in io.netty.handler.codec.stomp declared as ByteBuf Modifier and Type Field Description private ByteBufDefaultStompFrame. contentMethods in io.netty.handler.codec.stomp that return ByteBuf Modifier and Type Method Description ByteBufDefaultStompFrame. content()private static ByteBufStompSubframeEncoder. encodeContent(StompContentSubframe content, ChannelHandlerContext ctx)private ByteBufStompSubframeEncoder. encodeFullFrame(StompFrame frame, ChannelHandlerContext ctx)Methods in io.netty.handler.codec.stomp with parameters of type ByteBuf Modifier and Type Method Description protected StompFrameStompSubframeAggregator. beginAggregation(StompHeadersSubframe start, ByteBuf content)protected java.lang.ObjectStompSubframeEncoder. convertContentSubFrame(StompContentSubframe original, ByteBuf encoded)An extension method to convert a STOMP encoded buffer to a different message type based on an originalStompHeadersSubframecontent sub frame.protected java.lang.ObjectStompSubframeEncoder. convertFullFrame(StompFrame original, ByteBuf encoded)An extension method to convert a STOMP encoded buffer to a different message type based on an originalStompFramefull frame.protected java.lang.ObjectStompSubframeEncoder. convertHeadersSubFrame(StompHeadersSubframe original, ByteBuf encoded)An extension method to convert a STOMP encoded buffer to a different message type based on an originalStompHeadersSubframeheaders sub frame.protected voidStompSubframeDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)private static voidStompSubframeEncoder. encodeHeaders(StompHeadersSubframe frame, ByteBuf buf)(package private) AppendableCharSequenceStompSubframeDecoder.Utf8LineParser. parse(ByteBuf byteBuf)(package private) booleanStompSubframeDecoder.HeaderParser. parseHeader(StompHeadersSubframe headersSubframe, ByteBuf buf)private StompCommandStompSubframeDecoder. readCommand(ByteBuf in)private StompSubframeDecoder.StateStompSubframeDecoder. readHeaders(ByteBuf buffer, StompHeadersSubframe headersSubframe)LastStompContentSubframeDefaultLastStompContentSubframe. replace(ByteBuf content)StompContentSubframeDefaultStompContentSubframe. replace(ByteBuf content)StompFrameDefaultStompFrame. replace(ByteBuf content)LastStompContentSubframeLastStompContentSubframe. replace(ByteBuf content)StompContentSubframeStompContentSubframe. replace(ByteBuf content)StompFrameStompFrame. replace(ByteBuf content)private static voidStompSubframeDecoder. skipControlCharacters(ByteBuf buffer)private static voidStompSubframeDecoder. skipNullCharacter(ByteBuf buffer)Constructors in io.netty.handler.codec.stomp with parameters of type ByteBuf Constructor Description DefaultLastStompContentSubframe(ByteBuf content)DefaultStompContentSubframe(ByteBuf content)DefaultStompFrame(StompCommand command, ByteBuf content)DefaultStompFrame(StompCommand command, ByteBuf content, DefaultStompHeaders headers) -
Uses of ByteBuf in io.netty.handler.codec.string
Methods in io.netty.handler.codec.string with parameters of type ByteBuf Modifier and Type Method Description protected voidStringDecoder. decode(ChannelHandlerContext ctx, ByteBuf msg, java.util.List<java.lang.Object> out) -
Uses of ByteBuf in io.netty.handler.codec.xml
Methods in io.netty.handler.codec.xml that return ByteBuf Modifier and Type Method Description private static ByteBufXmlFrameDecoder. extractFrame(ByteBuf buffer, int index, int length)Methods in io.netty.handler.codec.xml with parameters of type ByteBuf Modifier and Type Method Description protected voidXmlDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidXmlFrameDecoder. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)private static ByteBufXmlFrameDecoder. extractFrame(ByteBuf buffer, int index, int length)private static booleanXmlFrameDecoder. isCDATABlockStart(ByteBuf in, int i)private static booleanXmlFrameDecoder. isCommentBlockStart(ByteBuf in, int i) -
Uses of ByteBuf in io.netty.handler.logging
Methods in io.netty.handler.logging with parameters of type ByteBuf Modifier and Type Method Description private java.lang.StringLoggingHandler. formatByteBuf(ChannelHandlerContext ctx, java.lang.String eventName, ByteBuf msg)Generates the default log message of the specified event whose argument is aByteBuf. -
Uses of ByteBuf in io.netty.handler.pcap
Methods in io.netty.handler.pcap with parameters of type ByteBuf Modifier and Type Method Description private voidPcapWriteHandler. completeTCPWrite(java.net.InetSocketAddress srcAddr, java.net.InetSocketAddress dstAddr, ByteBuf tcpBuf, ByteBufAllocator byteBufAllocator, ChannelHandlerContext ctx)Write TCP/IP L3 and L2 here.private voidPcapWriteHandler. completeUDPWrite(java.net.InetSocketAddress srcAddr, java.net.InetSocketAddress dstAddr, ByteBuf udpBuf, ByteBufAllocator byteBufAllocator, ChannelHandlerContext ctx)Write UDP/IP L3 and L2 here.private voidPcapWriteHandler. handleTcpPacket(ChannelHandlerContext ctx, ByteBuf packet, boolean isWriteOperation, ByteBufAllocator byteBufAllocator)(package private) static voidEthernetPacket. writeIPv4(ByteBuf byteBuf, ByteBuf payload)Write IPv4 Ethernet Packet.(package private) static voidEthernetPacket. writeIPv6(ByteBuf byteBuf, ByteBuf payload)Write IPv6 Ethernet Packet.private static voidEthernetPacket. writePacket(ByteBuf byteBuf, ByteBuf payload, byte[] srcAddress, byte[] dstAddress, int type)Write IPv6 Ethernet Packet(package private) voidPcapWriter. writePacket(ByteBuf packetHeaderBuf, ByteBuf packet)Write Packet in Pcap OutputStream.(package private) static voidTCPPacket. writePacket(ByteBuf byteBuf, ByteBuf payload, long segmentNumber, long ackNumber, int srcPort, int dstPort, TCPPacket.TCPFlag... tcpFlags)Write TCP Packet(package private) static voidUDPPacket. writePacket(ByteBuf byteBuf, ByteBuf payload, int srcPort, int dstPort)Write UDP Packet(package private) static voidPcapHeaders. writePacketHeader(ByteBuf byteBuf, int ts_sec, int ts_usec, int incl_len, int orig_len)Write Pcap Packet Headerprivate static voidIPPacket. writePacketv4(ByteBuf byteBuf, ByteBuf payload, int protocol, int srcAddress, int dstAddress)private static voidIPPacket. writePacketv6(ByteBuf byteBuf, ByteBuf payload, int protocol, byte[] srcAddress, byte[] dstAddress)(package private) static voidIPPacket. writeTCPv4(ByteBuf byteBuf, ByteBuf payload, int srcAddress, int dstAddress)Write IPv4 Packet for TCP Packet(package private) static voidIPPacket. writeTCPv6(ByteBuf byteBuf, ByteBuf payload, byte[] srcAddress, byte[] dstAddress)Write IPv6 Packet for TCP Packet(package private) static voidIPPacket. writeUDPv4(ByteBuf byteBuf, ByteBuf payload, int srcAddress, int dstAddress)Write IPv4 Packet for UDP Packet(package private) static voidIPPacket. writeUDPv6(ByteBuf byteBuf, ByteBuf payload, byte[] srcAddress, byte[] dstAddress)Write IPv6 Packet for UDP Packet -
Uses of ByteBuf in io.netty.handler.ssl
Fields in io.netty.handler.ssl declared as ByteBuf Modifier and Type Field Description private ByteBufPemPrivateKey. contentprivate ByteBufPemValue. contentprivate ByteBufPemX509Certificate. contentprivate ByteBufSslClientHelloHandler. handshakeBufferMethods in io.netty.handler.ssl that return ByteBuf Modifier and Type Method Description private ByteBufSslHandler. allocate(ChannelHandlerContext ctx, int capacity)Always prefer a direct buffer when it's pooled, so that we reduce the number of memory copies inOpenSslEngine.private ByteBufSslHandler. allocateOutNetBuf(ChannelHandlerContext ctx, int pendingBytes, int numComponents)Allocates an outbound network buffer forSSLEngine.wrap(ByteBuffer, ByteBuffer)which can encrypt the specified amount of pending bytes.(package private) abstract ByteBufSslHandler.SslEngineType. allocateWrapBuffer(SslHandler handler, ByteBufAllocator allocator, int pendingBytes, int numComponents)private static ByteBufPemX509Certificate. append(ByteBufAllocator allocator, boolean useDirect, PemEncoded encoded, int count, ByteBuf pem)Appends thePemEncodedvalue to theByteBuf(last arg) and returns it.private static ByteBufPemX509Certificate. append(ByteBufAllocator allocator, boolean useDirect, java.security.cert.X509Certificate cert, int count, ByteBuf pem)Appends theX509Certificatevalue to theByteBuf(last arg) and returns it.protected ByteBufSslHandlerCoalescingBufferQueue. compose(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf next)protected ByteBufSslHandlerCoalescingBufferQueue. composeFirst(ByteBufAllocator allocator, ByteBuf first, int bufferSize)ByteBufPemPrivateKey. content()ByteBufPemValue. content()ByteBufPemX509Certificate. content()private static ByteBufPemX509Certificate. newBuffer(ByteBufAllocator allocator, boolean useDirect, int initialCapacity)(package private) static ByteBuf[]PemReader. readCertificates(java.io.File file)(package private) static ByteBuf[]PemReader. readCertificates(java.io.InputStream in)(package private) static ByteBufPemReader. readPrivateKey(java.io.File file)(package private) static ByteBufPemReader. readPrivateKey(java.io.InputStream in)protected ByteBufSslHandlerCoalescingBufferQueue. removeEmptyValue()(package private) static ByteBufSslUtils. toBase64(ByteBufAllocator allocator, ByteBuf src)Same asBase64.encode(ByteBuf, boolean)but allows the use of a customByteBufAllocator.private ByteBufReferenceCountedOpenSslEngine. writeEncryptedData(java.nio.ByteBuffer src, int len)Write encrypted data to the OpenSSL network BIO.Methods in io.netty.handler.ssl with parameters of type ByteBuf Modifier and Type Method Description private static ByteBufPemX509Certificate. append(ByteBufAllocator allocator, boolean useDirect, PemEncoded encoded, int count, ByteBuf pem)Appends thePemEncodedvalue to theByteBuf(last arg) and returns it.private static ByteBufPemX509Certificate. append(ByteBufAllocator allocator, boolean useDirect, java.security.cert.X509Certificate cert, int count, ByteBuf pem)Appends theX509Certificatevalue to theByteBuf(last arg) and returns it.private static booleanSslHandlerCoalescingBufferQueue. attemptCopyToCumulation(ByteBuf cumulation, ByteBuf next, int wrapDataSize)protected ByteBufSslHandlerCoalescingBufferQueue. compose(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf next)protected ByteBufSslHandlerCoalescingBufferQueue. composeFirst(ByteBufAllocator allocator, ByteBuf first, int bufferSize)protected voidOptionalSslHandler. decode(ChannelHandlerContext context, ByteBuf in, java.util.List<java.lang.Object> out)protected voidSslClientHelloHandler. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)protected voidSslHandler. decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)private voidSslHandler. decodeJdkCompatible(ChannelHandlerContext ctx, ByteBuf in)private voidSslHandler. decodeNonJdkCompatible(ChannelHandlerContext ctx, ByteBuf in)private voidSslHandler. executeChannelRead(ChannelHandlerContext ctx, ByteBuf decodedOut)private static java.lang.StringAbstractSniHandler. extractSniHostname(ByteBuf in)private static java.security.cert.X509Certificate[]SslContext. getCertificatesFromBuffers(ByteBuf[] certs)(package private) static intSslUtils. getEncryptedPacketLength(ByteBuf buffer, int offset, boolean probeSSLv2)Return how much bytes can be read out of the encrypted data.private static java.security.PrivateKeySslContext. getPrivateKeyFromByteBuffer(ByteBuf encodedKeyBuf, java.lang.String keyPassword)static booleanSslHandler. isEncrypted(ByteBuf buffer)Deprecated.static booleanSslHandler. isEncrypted(ByteBuf buffer, boolean probeSSLv2)Returnstrueif the givenByteBufis encrypted.protected Future<T>AbstractSniHandler. lookup(ChannelHandlerContext ctx, ByteBuf clientHello)protected abstract Future<T>SslClientHelloHandler. lookup(ChannelHandlerContext ctx, ByteBuf clientHello)Kicks off a lookup for the givenClientHelloand returns aFuturewhich in turn will notify theSslClientHelloHandler.onLookupComplete(ChannelHandlerContext, Future)on completion.(package private) static longOpenSsl. memoryAddress(ByteBuf buf)private static longReferenceCountedOpenSslContext. newBIO(ByteBuf buffer)private static voidSslClientHelloHandler. releaseIfNotNull(ByteBuf buffer)PemEncodedPemEncoded. replace(ByteBuf content)PemPrivateKeyPemPrivateKey. replace(ByteBuf content)PemValuePemValue. replace(ByteBuf content)PemX509CertificatePemX509Certificate. replace(ByteBuf content)private voidSslClientHelloHandler. select(ChannelHandlerContext ctx, ByteBuf clientHello)private static shortSslUtils. shortBE(ByteBuf buffer, int offset)(package private) static ByteBufSslUtils. toBase64(ByteBufAllocator allocator, ByteBuf src)Same asBase64.encode(ByteBuf, boolean)but allows the use of a customByteBufAllocator.private static java.nio.ByteBufferSslHandler. toByteBuffer(ByteBuf out, int index, int len)private static intSslUtils. unsignedShortBE(ByteBuf buffer, int offset)(package private) abstract javax.net.ssl.SSLEngineResultSslHandler.SslEngineType. unwrap(SslHandler handler, ByteBuf in, int len, ByteBuf out)private intSslHandler. unwrap(ChannelHandlerContext ctx, ByteBuf packet, int length)Unwraps inbound SSL records.static PemPrivateKeyPemPrivateKey. valueOf(ByteBuf key)Creates aPemPrivateKeyfrom rawByteBuf.static PemX509CertificatePemX509Certificate. valueOf(ByteBuf key)Creates aPemX509Certificatefrom rawByteBuf.private javax.net.ssl.SSLEngineResultSslHandler. wrap(ByteBufAllocator alloc, javax.net.ssl.SSLEngine engine, ByteBuf in, ByteBuf out)private javax.net.ssl.SSLEngineResultSslHandler. wrapMultiple(ByteBufAllocator alloc, javax.net.ssl.SSLEngine engine, ByteBuf in, ByteBuf out)(package private) static voidSslUtils. zeroout(ByteBuf buffer)Fills theByteBufwith zero bytes.(package private) static voidSslUtils. zerooutAndRelease(ByteBuf buffer)Fills theByteBufwith zero bytes and releases it.Constructors in io.netty.handler.ssl with parameters of type ByteBuf Constructor Description PemPrivateKey(ByteBuf content)PemValue(ByteBuf content, boolean sensitive)PemX509Certificate(ByteBuf content) -
Uses of ByteBuf in io.netty.handler.ssl.ocsp
Methods in io.netty.handler.ssl.ocsp with parameters of type ByteBuf Modifier and Type Method Description private static Promise<org.bouncycastle.cert.ocsp.OCSPResp>OcspClient. query(EventLoop eventLoop, ByteBuf ocspRequest, java.lang.String host, int port, java.lang.String path, IoTransport ioTransport, DnsNameResolver dnsNameResolver)Query the OCSP responder for certificate status using HTTP/1.1 -
Uses of ByteBuf in io.netty.handler.stream
Methods in io.netty.handler.stream that return ByteBuf Modifier and Type Method Description ByteBufChunkedFile. readChunk(ByteBufAllocator allocator)ByteBufChunkedFile. readChunk(ChannelHandlerContext ctx)Deprecated.ByteBufChunkedNioFile. readChunk(ByteBufAllocator allocator)ByteBufChunkedNioFile. readChunk(ChannelHandlerContext ctx)Deprecated.ByteBufChunkedNioStream. readChunk(ByteBufAllocator allocator)ByteBufChunkedNioStream. readChunk(ChannelHandlerContext ctx)Deprecated.ByteBufChunkedStream. readChunk(ByteBufAllocator allocator)ByteBufChunkedStream. readChunk(ChannelHandlerContext ctx)Deprecated. -
Uses of ByteBuf in io.netty.resolver.dns
Methods in io.netty.resolver.dns with parameters of type ByteBuf Modifier and Type Method Description (package private) static java.lang.StringDnsResolveContext. decodeDomainName(ByteBuf in)
-