A B C D E F G H I K L M N O P R S T U W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractByteBuf - Class in io.netty.buffer
-
A skeletal implementation of a buffer.
- AbstractByteBuf(int) - Constructor for class io.netty.buffer.AbstractByteBuf
- AbstractByteBufAllocator - Class in io.netty.buffer
-
Skeletal
ByteBufAllocator
implementation to extend. - AbstractByteBufAllocator() - Constructor for class io.netty.buffer.AbstractByteBufAllocator
-
Instance use heap buffers by default
- AbstractByteBufAllocator(boolean) - Constructor for class io.netty.buffer.AbstractByteBufAllocator
-
Create new instance
- AbstractDerivedByteBuf - Class in io.netty.buffer
-
Deprecated.Do not use.
- AbstractDerivedByteBuf(int) - Constructor for class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- AbstractMultiSearchProcessorFactory - Class in io.netty.buffer.search
-
Base class for precomputed factories that create
MultiSearchProcessor
s. - AbstractMultiSearchProcessorFactory() - Constructor for class io.netty.buffer.search.AbstractMultiSearchProcessorFactory
- AbstractReferenceCountedByteBuf - Class in io.netty.buffer
-
Abstract base class for
ByteBuf
implementations that count references. - AbstractReferenceCountedByteBuf(int) - Constructor for class io.netty.buffer.AbstractReferenceCountedByteBuf
- AbstractSearchProcessorFactory - Class in io.netty.buffer.search
-
Base class for precomputed factories that create
SearchProcessor
s. - AbstractSearchProcessorFactory() - Constructor for class io.netty.buffer.search.AbstractSearchProcessorFactory
- AdaptiveByteBufAllocator - Class in io.netty.buffer
-
An auto-tuning pooling
ByteBufAllocator
, that follows an anti-generational hypothesis. - AdaptiveByteBufAllocator() - Constructor for class io.netty.buffer.AdaptiveByteBufAllocator
- AdaptiveByteBufAllocator(boolean) - Constructor for class io.netty.buffer.AdaptiveByteBufAllocator
- AdaptiveByteBufAllocator(boolean, boolean) - Constructor for class io.netty.buffer.AdaptiveByteBufAllocator
- addComponent(boolean, int, ByteBuf) - Method in class io.netty.buffer.CompositeByteBuf
-
Add the given
ByteBuf
on the specific index and increase thewriterIndex
ifincreaseWriterIndex
istrue
. - addComponent(boolean, ByteBuf) - Method in class io.netty.buffer.CompositeByteBuf
- addComponent(int, ByteBuf) - Method in class io.netty.buffer.CompositeByteBuf
-
Add the given
ByteBuf
on the specific index. - addComponent(ByteBuf) - Method in class io.netty.buffer.CompositeByteBuf
-
Add the given
ByteBuf
. - addComponents(boolean, ByteBuf...) - Method in class io.netty.buffer.CompositeByteBuf
- addComponents(boolean, Iterable<ByteBuf>) - Method in class io.netty.buffer.CompositeByteBuf
- addComponents(int, ByteBuf...) - Method in class io.netty.buffer.CompositeByteBuf
-
Add the given
ByteBuf
s on the specific index - addComponents(int, Iterable<ByteBuf>) - Method in class io.netty.buffer.CompositeByteBuf
-
Add the given
ByteBuf
s on the specific index Be aware that this method does not increase thewriterIndex
of theCompositeByteBuf
. - addComponents(ByteBuf...) - Method in class io.netty.buffer.CompositeByteBuf
-
Add the given
ByteBuf
s. - addComponents(Iterable<ByteBuf>) - Method in class io.netty.buffer.CompositeByteBuf
-
Add the given
ByteBuf
s. - addFlattenedComponents(boolean, ByteBuf) - Method in class io.netty.buffer.CompositeByteBuf
- adjustMarkers(int) - Method in class io.netty.buffer.AbstractByteBuf
- AhoCorasicSearchProcessorFactory - Class in io.netty.buffer.search
-
Implements Aho–Corasick string search algorithm.
- AhoCorasicSearchProcessorFactory.Processor - Class in io.netty.buffer.search
- alloc() - Method in class io.netty.buffer.ByteBuf
-
Returns the
ByteBufAllocator
which created this buffer. - alloc() - Method in class io.netty.buffer.CompositeByteBuf
- alloc() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- alloc() - Method in class io.netty.buffer.EmptyByteBuf
- alloc() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- alloc() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- alloc() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- alloc() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- allocateArray(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- allocateArray(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- allocateDirect(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
-
Allocate a new direct
ByteBuffer
with the given initialCapacity. - appendPrettyHexDump(StringBuilder, ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
-
Appends the prettified multi-line hexadecimal dump of the specified
ByteBuf
to the specifiedStringBuilder
that is easy to read by humans. - appendPrettyHexDump(StringBuilder, ByteBuf, int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Appends the prettified multi-line hexadecimal dump of the specified
ByteBuf
to the specifiedStringBuilder
that is easy to read by humans, starting at the givenoffset
using the givenlength
. - array() - Method in class io.netty.buffer.ByteBuf
-
Returns the backing byte array of this buffer.
- array() - Method in class io.netty.buffer.CompositeByteBuf
- array() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- array() - Method in class io.netty.buffer.EmptyByteBuf
- array() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- array() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- array() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- array() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- arrayOffset() - Method in class io.netty.buffer.ByteBuf
-
Returns the offset of the first byte within the backing byte array of this buffer.
- arrayOffset() - Method in class io.netty.buffer.CompositeByteBuf
- arrayOffset() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- arrayOffset() - Method in class io.netty.buffer.EmptyByteBuf
- arrayOffset() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- arrayOffset() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- arrayOffset() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- arrayOffset() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- asByteBuf() - Method in class io.netty.buffer.ByteBuf
-
A
ByteBuf
can turn into itself. - asByteBuf() - Method in interface io.netty.buffer.ByteBufConvertible
-
Turn this object into a
ByteBuf
. - asReadOnly() - Method in class io.netty.buffer.AbstractByteBuf
- asReadOnly() - Method in class io.netty.buffer.ByteBuf
-
Returns a read-only version of this buffer.
- asReadOnly() - Method in class io.netty.buffer.EmptyByteBuf
- asReadOnly() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- asReadOnly() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- available() - Method in class io.netty.buffer.ByteBufInputStream
B
- BIG_ENDIAN - Static variable in class io.netty.buffer.Unpooled
-
Big endian byte order.
- BitapSearchProcessorFactory - Class in io.netty.buffer.search
-
Implements Bitap string search algorithm.
- BitapSearchProcessorFactory.Processor - Class in io.netty.buffer.search
- buffer() - Method in class io.netty.buffer.AbstractByteBufAllocator
- buffer() - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a
ByteBuf
. - buffer() - Method in class io.netty.buffer.ByteBufOutputStream
-
Returns the buffer where this stream is writing data.
- buffer() - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian Java heap buffer with reasonably small initial capacity, which expands its capacity boundlessly on demand.
- buffer(int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- buffer(int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a
ByteBuf
with the given initial capacity. - buffer(int) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian Java heap buffer with the specified
capacity
, which expands its capacity boundlessly on demand. - buffer(int, int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- buffer(int, int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a
ByteBuf
with the given initial capacity and the given maximal capacity. - buffer(int, int) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian Java heap buffer with the specified
initialCapacity
, that may grow up tomaxCapacity
The new buffer'sreaderIndex
andwriterIndex
are0
. - ByteBuf - Class in io.netty.buffer
-
A random and sequential accessible sequence of zero or more bytes (octets).
- ByteBuf() - Constructor for class io.netty.buffer.ByteBuf
- ByteBufAllocator - Interface in io.netty.buffer
-
Implementations are responsible to allocate buffers.
- ByteBufAllocatorMetric - Interface in io.netty.buffer
- ByteBufAllocatorMetricProvider - Interface in io.netty.buffer
- ByteBufConvertible - Interface in io.netty.buffer
-
An interface that can be implemented by any object that know how to turn itself into a
ByteBuf
. - ByteBufHolder - Interface in io.netty.buffer
-
A packet which is send or receive.
- ByteBufInputStream - Class in io.netty.buffer
-
An
InputStream
which reads data from aByteBuf
. - ByteBufInputStream(ByteBuf) - Constructor for class io.netty.buffer.ByteBufInputStream
-
Creates a new stream which reads data from the specified
buffer
starting at the currentreaderIndex
and ending at the currentwriterIndex
. - ByteBufInputStream(ByteBuf, boolean) - Constructor for class io.netty.buffer.ByteBufInputStream
-
Creates a new stream which reads data from the specified
buffer
starting at the currentreaderIndex
and ending at the currentwriterIndex
. - ByteBufInputStream(ByteBuf, int) - Constructor for class io.netty.buffer.ByteBufInputStream
-
Creates a new stream which reads data from the specified
buffer
starting at the currentreaderIndex
and ending atreaderIndex + length
. - ByteBufInputStream(ByteBuf, int, boolean) - Constructor for class io.netty.buffer.ByteBufInputStream
-
Creates a new stream which reads data from the specified
buffer
starting at the currentreaderIndex
and ending atreaderIndex + length
. - ByteBufOutputStream - Class in io.netty.buffer
-
An
OutputStream
which writes data to aByteBuf
. - ByteBufOutputStream(ByteBuf) - Constructor for class io.netty.buffer.ByteBufOutputStream
-
Creates a new stream which writes data to the specified
buffer
. - ByteBufOutputStream(ByteBuf, boolean) - Constructor for class io.netty.buffer.ByteBufOutputStream
-
Creates a new stream which writes data to the specified
buffer
. - ByteBufProcessor - Interface in io.netty.buffer
-
Deprecated.Use
ByteProcessor
. - ByteBufUtil - Class in io.netty.buffer
-
A collection of utility methods that is related with handling
ByteBuf
, such as the generation of hex dump and swapping an integer's byte order. - bytesBefore(byte) - Method in class io.netty.buffer.AbstractByteBuf
- bytesBefore(byte) - Method in class io.netty.buffer.ByteBuf
-
Locates the first occurrence of the specified
value
in this buffer. - bytesBefore(byte) - Method in class io.netty.buffer.EmptyByteBuf
- bytesBefore(byte) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- bytesBefore(int, byte) - Method in class io.netty.buffer.AbstractByteBuf
- bytesBefore(int, byte) - Method in class io.netty.buffer.ByteBuf
-
Locates the first occurrence of the specified
value
in this buffer. - bytesBefore(int, byte) - Method in class io.netty.buffer.EmptyByteBuf
- bytesBefore(int, byte) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- bytesBefore(int, int, byte) - Method in class io.netty.buffer.AbstractByteBuf
- bytesBefore(int, int, byte) - Method in class io.netty.buffer.ByteBuf
-
Locates the first occurrence of the specified
value
in this buffer. - bytesBefore(int, int, byte) - Method in class io.netty.buffer.EmptyByteBuf
- bytesBefore(int, int, byte) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
C
- calculateNewCapacity(int, int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- calculateNewCapacity(int, int) - Method in interface io.netty.buffer.ByteBufAllocator
- capacity() - Method in class io.netty.buffer.ByteBuf
-
Returns the number of bytes (octets) this buffer can contain.
- capacity() - Method in class io.netty.buffer.CompositeByteBuf
- capacity() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- capacity() - Method in class io.netty.buffer.EmptyByteBuf
- capacity() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- capacity() - Method in class io.netty.buffer.SlicedByteBuf
-
Deprecated.
- capacity() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- capacity() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- capacity() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- capacity(int) - Method in class io.netty.buffer.ByteBuf
-
Adjusts the capacity of this buffer.
- capacity(int) - Method in class io.netty.buffer.CompositeByteBuf
- capacity(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- capacity(int) - Method in class io.netty.buffer.EmptyByteBuf
- capacity(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- capacity(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- capacity(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- capacity(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- checkDstIndex(int, int, int) - Method in class io.netty.buffer.AbstractByteBuf
- checkDstIndex(int, int, int, int) - Method in class io.netty.buffer.AbstractByteBuf
- checkIndex(int) - Method in class io.netty.buffer.AbstractByteBuf
- checkIndex(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- checkNewCapacity(int) - Method in class io.netty.buffer.AbstractByteBuf
- checkReadableBytes(int) - Method in class io.netty.buffer.AbstractByteBuf
-
Throws an
IndexOutOfBoundsException
if the current readable bytes of this buffer is less than the specified value. - checkSrcIndex(int, int, int, int) - Method in class io.netty.buffer.AbstractByteBuf
- chunkLists() - Method in interface io.netty.buffer.PoolArenaMetric
-
Returns an unmodifiable
List
which holdsPoolChunkListMetric
s. - chunkSize() - Method in interface io.netty.buffer.PoolChunkMetric
-
Return the size of the chunk in bytes, this is the maximum of bytes that can be served out of the chunk.
- chunkSize() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.
- chunkSize() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
-
Return the chunk size for an arena.
- clear() - Method in class io.netty.buffer.AbstractByteBuf
- clear() - Method in class io.netty.buffer.ByteBuf
-
Sets the
readerIndex
andwriterIndex
of this buffer to0
. - clear() - Method in class io.netty.buffer.CompositeByteBuf
- clear() - Method in class io.netty.buffer.EmptyByteBuf
- clear() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- close() - Method in class io.netty.buffer.ByteBufInputStream
- close() - Method in class io.netty.buffer.ByteBufOutputStream
- compare(ByteBuf, ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
-
Compares the two specified buffers as described in
ByteBuf.compareTo(ByteBuf)
. - compareTo(ByteBuf) - Method in class io.netty.buffer.AbstractByteBuf
- compareTo(ByteBuf) - Method in class io.netty.buffer.ByteBuf
-
Compares the content of the specified buffer to the content of this buffer.
- compareTo(ByteBuf) - Method in class io.netty.buffer.EmptyByteBuf
- compareTo(ByteBuf) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- component(int) - Method in class io.netty.buffer.CompositeByteBuf
-
Return the
ByteBuf
on the specified index - componentAtOffset(int) - Method in class io.netty.buffer.CompositeByteBuf
-
Return the
ByteBuf
on the specified index - compositeBuffer() - Method in class io.netty.buffer.AbstractByteBufAllocator
- compositeBuffer() - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a
CompositeByteBuf
. - compositeBuffer() - Static method in class io.netty.buffer.Unpooled
-
Returns a new big-endian composite buffer with no components.
- compositeBuffer(int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- compositeBuffer(int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a
CompositeByteBuf
with the given maximum number of components that can be stored in it. - compositeBuffer(int) - Static method in class io.netty.buffer.Unpooled
-
Returns a new big-endian composite buffer with no components.
- CompositeByteBuf - Class in io.netty.buffer
-
A virtual buffer which shows multiple buffers as a single merged buffer.
- CompositeByteBuf(ByteBufAllocator, boolean, int) - Constructor for class io.netty.buffer.CompositeByteBuf
- CompositeByteBuf(ByteBufAllocator, boolean, int, ByteBuf...) - Constructor for class io.netty.buffer.CompositeByteBuf
- CompositeByteBuf(ByteBufAllocator, boolean, int, Iterable<ByteBuf>) - Constructor for class io.netty.buffer.CompositeByteBuf
- compositeDirectBuffer() - Method in class io.netty.buffer.AbstractByteBufAllocator
- compositeDirectBuffer() - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a direct
CompositeByteBuf
. - compositeDirectBuffer(int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- compositeDirectBuffer(int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a direct
CompositeByteBuf
with the given maximum number of components that can be stored in it. - compositeDirectBuffer(int) - Method in class io.netty.buffer.UnpooledByteBufAllocator
- compositeHeapBuffer() - Method in class io.netty.buffer.AbstractByteBufAllocator
- compositeHeapBuffer() - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a heap
CompositeByteBuf
. - compositeHeapBuffer(int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- compositeHeapBuffer(int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a heap
CompositeByteBuf
with the given maximum number of components that can be stored in it. - compositeHeapBuffer(int) - Method in class io.netty.buffer.UnpooledByteBufAllocator
- consolidate() - Method in class io.netty.buffer.CompositeByteBuf
-
Consolidate the composed
ByteBuf
s - consolidate(int, int) - Method in class io.netty.buffer.CompositeByteBuf
-
Consolidate the composed
ByteBuf
s - content() - Method in interface io.netty.buffer.ByteBufHolder
-
Return the data which is held by this
ByteBufHolder
. - content() - Method in class io.netty.buffer.DefaultByteBufHolder
- contentToString() - Method in class io.netty.buffer.DefaultByteBufHolder
-
Return
ByteBuf.toString()
without checking the reference count first. - copiedBuffer(byte[]) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian buffer whose content is a copy of the specified
array
. - copiedBuffer(byte[]...) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian buffer whose content is a merged copy of the specified
arrays
. - copiedBuffer(byte[], int, int) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian buffer whose content is a copy of the specified
array
's sub-region. - copiedBuffer(char[], int, int, Charset) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian buffer whose content is a subregion of the specified
array
encoded in the specifiedcharset
. - copiedBuffer(char[], Charset) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian buffer whose content is the specified
array
encoded in the specifiedcharset
. - copiedBuffer(ByteBuf) - Static method in class io.netty.buffer.Unpooled
-
Creates a new buffer whose content is a copy of the specified
buffer
's readable bytes. - copiedBuffer(ByteBuf...) - Static method in class io.netty.buffer.Unpooled
-
Creates a new buffer whose content is a merged copy of the specified
buffers
' readable bytes. - copiedBuffer(CharSequence, int, int, Charset) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian buffer whose content is a subregion of the specified
string
encoded in the specifiedcharset
. - copiedBuffer(CharSequence, Charset) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian buffer whose content is the specified
string
encoded in the specifiedcharset
. - copiedBuffer(ByteBuffer) - Static method in class io.netty.buffer.Unpooled
-
Creates a new buffer whose content is a copy of the specified
buffer
's current slice. - copiedBuffer(ByteBuffer...) - Static method in class io.netty.buffer.Unpooled
-
Creates a new buffer whose content is a merged copy of the specified
buffers
' slices. - copy() - Method in class io.netty.buffer.AbstractByteBuf
- copy() - Method in class io.netty.buffer.ByteBuf
-
Returns a copy of this buffer's readable bytes.
- copy() - Method in interface io.netty.buffer.ByteBufHolder
-
Creates a deep copy of this
ByteBufHolder
. - copy() - Method in class io.netty.buffer.DefaultByteBufHolder
-
Creates a deep copy of this
ByteBufHolder
. - copy() - Method in class io.netty.buffer.EmptyByteBuf
- copy() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- copy(int, int) - Method in class io.netty.buffer.ByteBuf
-
Returns a copy of this buffer's sub-region.
- copy(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- copy(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- copy(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- copy(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- copy(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- copy(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- copy(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- copy(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- copy(AsciiString, int, ByteBuf, int) - Static method in class io.netty.buffer.ByteBufUtil
- copy(AsciiString, int, ByteBuf, int, int) - Static method in class io.netty.buffer.ByteBufUtil
- copy(AsciiString, ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
- copyBoolean(boolean) - Static method in class io.netty.buffer.Unpooled
-
Creates a new single-byte big-endian buffer that holds the specified boolean value.
- copyBoolean(boolean...) - Static method in class io.netty.buffer.Unpooled
-
Create a new big-endian buffer that holds a sequence of the specified boolean values.
- copyDouble(double) - Static method in class io.netty.buffer.Unpooled
-
Creates a new 8-byte big-endian buffer that holds the specified 64-bit floating point number.
- copyDouble(double...) - Static method in class io.netty.buffer.Unpooled
-
Create a new big-endian buffer that holds a sequence of the specified 64-bit floating point numbers.
- copyFloat(float) - Static method in class io.netty.buffer.Unpooled
-
Creates a new 4-byte big-endian buffer that holds the specified 32-bit floating point number.
- copyFloat(float...) - Static method in class io.netty.buffer.Unpooled
-
Create a new big-endian buffer that holds a sequence of the specified 32-bit floating point numbers.
- copyInt(int) - Static method in class io.netty.buffer.Unpooled
-
Creates a new 4-byte big-endian buffer that holds the specified 32-bit integer.
- copyInt(int...) - Static method in class io.netty.buffer.Unpooled
-
Create a big-endian buffer that holds a sequence of the specified 32-bit integers.
- copyLong(long) - Static method in class io.netty.buffer.Unpooled
-
Creates a new 8-byte big-endian buffer that holds the specified 64-bit integer.
- copyLong(long...) - Static method in class io.netty.buffer.Unpooled
-
Create a new big-endian buffer that holds a sequence of the specified 64-bit integers.
- copyMedium(int) - Static method in class io.netty.buffer.Unpooled
-
Creates a new 3-byte big-endian buffer that holds the specified 24-bit integer.
- copyMedium(int...) - Static method in class io.netty.buffer.Unpooled
-
Create a new big-endian buffer that holds a sequence of the specified 24-bit integers.
- copyShort(int) - Static method in class io.netty.buffer.Unpooled
-
Creates a new 2-byte big-endian buffer that holds the specified 16-bit integer.
- copyShort(int...) - Static method in class io.netty.buffer.Unpooled
-
Create a new big-endian buffer that holds a sequence of the specified 16-bit integers.
- copyShort(short...) - Static method in class io.netty.buffer.Unpooled
-
Create a new big-endian buffer that holds a sequence of the specified 16-bit integers.
D
- deallocate() - Method in class io.netty.buffer.AbstractReferenceCountedByteBuf
-
Called once
AbstractReferenceCountedByteBuf.refCnt()
is equals 0. - deallocate() - Method in class io.netty.buffer.CompositeByteBuf
- deallocate() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- deallocate() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- decodeHexByte(CharSequence, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Decode a 2-digit hex byte from within a string.
- decodeHexDump(CharSequence) - Static method in class io.netty.buffer.ByteBufUtil
-
Decodes a string generated by
ByteBufUtil.hexDump(byte[])
- decodeHexDump(CharSequence, int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Decodes part of a string generated by
ByteBufUtil.hexDump(byte[])
- decompose(int, int) - Method in class io.netty.buffer.CompositeByteBuf
-
Same with
AbstractByteBuf.slice(int, int)
except that this method returns a list. - DEFAULT - Static variable in interface io.netty.buffer.ByteBufAllocator
- DEFAULT - Static variable in class io.netty.buffer.PooledByteBufAllocator
- DEFAULT - Static variable in class io.netty.buffer.UnpooledByteBufAllocator
-
Default instance which uses leak-detection for direct buffers.
- DefaultByteBufHolder - Class in io.netty.buffer
-
Default implementation of a
ByteBufHolder
that holds it's data in aByteBuf
. - DefaultByteBufHolder(ByteBuf) - Constructor for class io.netty.buffer.DefaultByteBufHolder
- defaultMaxOrder() - Static method in class io.netty.buffer.PooledByteBufAllocator
-
Default maximum order - System Property: io.netty.allocator.maxOrder - default 9
- defaultNormalCacheSize() - Static method in class io.netty.buffer.PooledByteBufAllocator
-
Default normal cache size - System Property: io.netty.allocator.normalCacheSize - default 64
- defaultNumDirectArena() - Static method in class io.netty.buffer.PooledByteBufAllocator
-
Default number of direct arenas - System Property: io.netty.allocator.numDirectArenas - default 2 * cores
- defaultNumHeapArena() - Static method in class io.netty.buffer.PooledByteBufAllocator
-
Default number of heap arenas - System Property: io.netty.allocator.numHeapArenas - default 2 * cores
- defaultPageSize() - Static method in class io.netty.buffer.PooledByteBufAllocator
-
Default buffer page size - System Property: io.netty.allocator.pageSize - default 8192
- defaultPreferDirect() - Static method in class io.netty.buffer.PooledByteBufAllocator
-
Default prefer direct - System Property: io.netty.noPreferDirect - default false
- defaultSmallCacheSize() - Static method in class io.netty.buffer.PooledByteBufAllocator
-
Default small cache size - System Property: io.netty.allocator.smallCacheSize - default 256
- defaultTinyCacheSize() - Static method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.Tiny caches have been merged into small caches.
- defaultUseCacheForAllThreads() - Static method in class io.netty.buffer.PooledByteBufAllocator
-
Default thread caching behavior - System Property: io.netty.allocator.useCacheForAllThreads - default false
- directArenas() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.
- directArenas() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
-
Return a
List
of all directPoolArenaMetric
s that are provided by this pool. - directBuffer() - Method in class io.netty.buffer.AbstractByteBufAllocator
- directBuffer() - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a direct
ByteBuf
. - directBuffer() - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian direct buffer with reasonably small initial capacity, which expands its capacity boundlessly on demand.
- directBuffer(int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- directBuffer(int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a direct
ByteBuf
with the given initial capacity. - directBuffer(int) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian direct buffer with the specified
capacity
, which expands its capacity boundlessly on demand. - directBuffer(int, int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- directBuffer(int, int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a direct
ByteBuf
with the given initial capacity and the given maximal capacity. - directBuffer(int, int) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian direct buffer with the specified
initialCapacity
, that may grow up tomaxCapacity
. - discardReadBytes() - Method in class io.netty.buffer.AbstractByteBuf
- discardReadBytes() - Method in class io.netty.buffer.ByteBuf
-
Discards the bytes between the 0th index and
readerIndex
. - discardReadBytes() - Method in class io.netty.buffer.CompositeByteBuf
- discardReadBytes() - Method in class io.netty.buffer.EmptyByteBuf
- discardReadBytes() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- discardReadBytes() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- discardReadComponents() - Method in class io.netty.buffer.CompositeByteBuf
-
Discard all
ByteBuf
s which are read. - discardSomeReadBytes() - Method in class io.netty.buffer.AbstractByteBuf
- discardSomeReadBytes() - Method in class io.netty.buffer.ByteBuf
-
Similar to
ByteBuf.discardReadBytes()
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. - discardSomeReadBytes() - Method in class io.netty.buffer.CompositeByteBuf
- discardSomeReadBytes() - Method in class io.netty.buffer.EmptyByteBuf
- discardSomeReadBytes() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- dumpStats() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Returns the status of the allocator (which contains all metrics) as string.
- duplicate() - Method in class io.netty.buffer.AbstractByteBuf
- duplicate() - Method in class io.netty.buffer.ByteBuf
-
Returns a buffer which shares the whole region of this buffer.
- duplicate() - Method in interface io.netty.buffer.ByteBufHolder
-
Duplicates this
ByteBufHolder
. - duplicate() - Method in class io.netty.buffer.DefaultByteBufHolder
-
Duplicates this
ByteBufHolder
. - duplicate() - Method in class io.netty.buffer.EmptyByteBuf
- duplicate() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- duplicate() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- DuplicatedByteBuf - Class in io.netty.buffer
-
Deprecated.Do not use.
- DuplicatedByteBuf(ByteBuf) - Constructor for class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
E
- elementSize() - Method in interface io.netty.buffer.PoolSubpageMetric
-
Return the size (in bytes) of the elements that will be allocated.
- EMPTY_BUFFER - Static variable in class io.netty.buffer.Unpooled
-
A buffer whose capacity is
0
. - EmptyByteBuf - Class in io.netty.buffer
-
An empty
ByteBuf
whose capacity and maximum capacity are all0
. - EmptyByteBuf(ByteBufAllocator) - Constructor for class io.netty.buffer.EmptyByteBuf
- encodeString(ByteBufAllocator, CharBuffer, Charset) - Static method in class io.netty.buffer.ByteBufUtil
-
Encode the given
CharBuffer
using the givenCharset
into a newByteBuf
which is allocated via theByteBufAllocator
. - encodeString(ByteBufAllocator, CharBuffer, Charset, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Encode the given
CharBuffer
using the givenCharset
into a newByteBuf
which is allocated via theByteBufAllocator
. - ensureAccessible() - Method in class io.netty.buffer.AbstractByteBuf
-
Should be called by every method that tries to access the buffers content to check if the buffer was released before.
- ensureAccessible(ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
- ensureWritable(int) - Method in class io.netty.buffer.AbstractByteBuf
- ensureWritable(int) - Method in class io.netty.buffer.ByteBuf
-
Expands the buffer
ByteBuf.capacity()
to make sure the number of writable bytes is equal to or greater than the specified value. - ensureWritable(int) - Method in class io.netty.buffer.CompositeByteBuf
- ensureWritable(int) - Method in class io.netty.buffer.EmptyByteBuf
- ensureWritable(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- ensureWritable(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- ensureWritable(int, boolean) - Method in class io.netty.buffer.AbstractByteBuf
- ensureWritable(int, boolean) - Method in class io.netty.buffer.ByteBuf
-
Expands the buffer
ByteBuf.capacity()
to make sure the number of writable bytes is equal to or greater than the specified value. - ensureWritable(int, boolean) - Method in class io.netty.buffer.EmptyByteBuf
- ensureWritable(int, boolean) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- ensureWritable(int, boolean) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- ensureWritableSuccess(int) - Static method in class io.netty.buffer.ByteBufUtil
-
Used to determine if the return value of
ByteBuf.ensureWritable(int, boolean)
means that there is adequate space and a write operation will succeed. - equals(ByteBuf, int, ByteBuf, int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns
true
if and only if the two specified buffers are identical to each other forlength
bytes starting ataStartIndex
index for thea
buffer andbStartIndex
index for theb
buffer. - equals(ByteBuf, ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns
true
if and only if the two specified buffers are identical to each other as described inByteBuf.equals(Object)
. - equals(Object) - Method in class io.netty.buffer.AbstractByteBuf
- equals(Object) - Method in class io.netty.buffer.ByteBuf
-
Determines if the content of the specified buffer is identical to the content of this array.
- equals(Object) - Method in class io.netty.buffer.DefaultByteBufHolder
-
This implementation of the
equals
operation is restricted to work only with instances of the same class. - equals(Object) - Method in class io.netty.buffer.EmptyByteBuf
- equals(Object) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
F
- FIND_CR - Static variable in interface io.netty.buffer.ByteBufProcessor
-
Deprecated.Use
ByteProcessor.FIND_CR
. - FIND_CRLF - Static variable in interface io.netty.buffer.ByteBufProcessor
-
Deprecated.Use
ByteProcessor.FIND_CRLF
. - FIND_LF - Static variable in interface io.netty.buffer.ByteBufProcessor
-
Deprecated.Use
ByteProcessor.FIND_LF
. - FIND_LINEAR_WHITESPACE - Static variable in interface io.netty.buffer.ByteBufProcessor
-
Deprecated.Use
ByteProcessor.FIND_LINEAR_WHITESPACE
. - FIND_NON_CR - Static variable in interface io.netty.buffer.ByteBufProcessor
-
Deprecated.Use
ByteProcessor.FIND_NON_CR
. - FIND_NON_CRLF - Static variable in interface io.netty.buffer.ByteBufProcessor
-
Deprecated.Use
ByteProcessor.FIND_NON_CRLF
. - FIND_NON_LF - Static variable in interface io.netty.buffer.ByteBufProcessor
-
Deprecated.Use
ByteProcessor.FIND_NON_LF
. - FIND_NON_LINEAR_WHITESPACE - Static variable in interface io.netty.buffer.ByteBufProcessor
-
Deprecated.Use
ByteProcessor.FIND_NON_LINEAR_WHITESPACE
. - FIND_NON_NUL - Static variable in interface io.netty.buffer.ByteBufProcessor
-
Deprecated.Use
ByteProcessor.FIND_NON_NUL
. - FIND_NUL - Static variable in interface io.netty.buffer.ByteBufProcessor
-
Deprecated.Use
ByteProcessor.FIND_NUL
. - forEachByte(int, int, ByteProcessor) - Method in class io.netty.buffer.AbstractByteBuf
- forEachByte(int, int, ByteProcessor) - Method in class io.netty.buffer.ByteBuf
-
Iterates over the specified area of this buffer with the specified
processor
in ascending order. - forEachByte(int, int, ByteProcessor) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- forEachByte(int, int, ByteProcessor) - Method in class io.netty.buffer.EmptyByteBuf
- forEachByte(int, int, ByteProcessor) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- forEachByte(int, int, ByteProcessor) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- forEachByte(ByteProcessor) - Method in class io.netty.buffer.AbstractByteBuf
- forEachByte(ByteProcessor) - Method in class io.netty.buffer.ByteBuf
-
Iterates over the readable bytes of this buffer with the specified
processor
in ascending order. - forEachByte(ByteProcessor) - Method in class io.netty.buffer.EmptyByteBuf
- forEachByte(ByteProcessor) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- forEachByteAsc0(int, int, ByteProcessor) - Method in class io.netty.buffer.CompositeByteBuf
- forEachByteDesc(int, int, ByteProcessor) - Method in class io.netty.buffer.AbstractByteBuf
- forEachByteDesc(int, int, ByteProcessor) - Method in class io.netty.buffer.ByteBuf
-
Iterates over the specified area of this buffer with the specified
processor
in descending order. - forEachByteDesc(int, int, ByteProcessor) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- forEachByteDesc(int, int, ByteProcessor) - Method in class io.netty.buffer.EmptyByteBuf
- forEachByteDesc(int, int, ByteProcessor) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- forEachByteDesc(int, int, ByteProcessor) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- forEachByteDesc(ByteProcessor) - Method in class io.netty.buffer.AbstractByteBuf
- forEachByteDesc(ByteProcessor) - Method in class io.netty.buffer.ByteBuf
-
Iterates over the readable bytes of this buffer with the specified
processor
in descending order. - forEachByteDesc(ByteProcessor) - Method in class io.netty.buffer.EmptyByteBuf
- forEachByteDesc(ByteProcessor) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- forEachByteDesc0(int, int, ByteProcessor) - Method in class io.netty.buffer.CompositeByteBuf
- freeArray(byte[]) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- freeBytes() - Method in interface io.netty.buffer.PoolChunkMetric
-
Return the number of free bytes in the chunk.
- freeDirect(ByteBuffer) - Method in class io.netty.buffer.UnpooledDirectByteBuf
-
Free a direct
ByteBuffer
- freeThreadLocalCache() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.will be removed Free all cached buffers for the calling
Thread
.
G
- getBoolean(int) - Method in class io.netty.buffer.AbstractByteBuf
- getBoolean(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a boolean at the specified absolute (@code index) in this buffer.
- getBoolean(int) - Method in class io.netty.buffer.EmptyByteBuf
- getBoolean(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getByte(int) - Method in class io.netty.buffer.AbstractByteBuf
- getByte(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a byte at the specified absolute
index
in this buffer. - getByte(int) - Method in class io.netty.buffer.CompositeByteBuf
- getByte(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getByte(int) - Method in class io.netty.buffer.EmptyByteBuf
- getByte(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getByte(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getByte(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getByte(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getByte(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- getByte(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- getBytes(int, byte[]) - Method in class io.netty.buffer.AbstractByteBuf
- getBytes(int, byte[]) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the specified absolute
index
. - getBytes(int, byte[]) - Method in class io.netty.buffer.CompositeByteBuf
- getBytes(int, byte[]) - Method in class io.netty.buffer.EmptyByteBuf
- getBytes(int, byte[]) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getBytes(int, byte[], int, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the specified absolute
index
. - getBytes(int, byte[], int, int) - Method in class io.netty.buffer.CompositeByteBuf
- getBytes(int, byte[], int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getBytes(int, byte[], int, int) - Method in class io.netty.buffer.EmptyByteBuf
- getBytes(int, byte[], int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getBytes(int, byte[], int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getBytes(int, byte[], int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getBytes(int, byte[], int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getBytes(int, ByteBuf) - Method in class io.netty.buffer.AbstractByteBuf
- getBytes(int, ByteBuf) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the specified absolute
index
until the destination becomes non-writable. - getBytes(int, ByteBuf) - Method in class io.netty.buffer.CompositeByteBuf
- getBytes(int, ByteBuf) - Method in class io.netty.buffer.EmptyByteBuf
- getBytes(int, ByteBuf) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getBytes(int, ByteBuf, int) - Method in class io.netty.buffer.AbstractByteBuf
- getBytes(int, ByteBuf, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the specified absolute
index
. - getBytes(int, ByteBuf, int) - Method in class io.netty.buffer.CompositeByteBuf
- getBytes(int, ByteBuf, int) - Method in class io.netty.buffer.EmptyByteBuf
- getBytes(int, ByteBuf, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the specified absolute
index
. - getBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.CompositeByteBuf
- getBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.EmptyByteBuf
- getBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- getBytes(int, OutputStream, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified stream starting at the specified absolute
index
. - getBytes(int, OutputStream, int) - Method in class io.netty.buffer.CompositeByteBuf
- getBytes(int, OutputStream, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getBytes(int, OutputStream, int) - Method in class io.netty.buffer.EmptyByteBuf
- getBytes(int, OutputStream, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getBytes(int, OutputStream, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getBytes(int, OutputStream, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getBytes(int, OutputStream, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getBytes(int, ByteBuffer) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the specified absolute
index
until the destination's position reaches its limit. - getBytes(int, ByteBuffer) - Method in class io.netty.buffer.CompositeByteBuf
- getBytes(int, ByteBuffer) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getBytes(int, ByteBuffer) - Method in class io.netty.buffer.EmptyByteBuf
- getBytes(int, ByteBuffer) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getBytes(int, ByteBuffer) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getBytes(int, ByteBuffer) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getBytes(int, ByteBuffer) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data starting at the specified absolute
index
to the specified channel starting at the given file position. - getBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.CompositeByteBuf
- getBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.EmptyByteBuf
- getBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getBytes(int, GatheringByteChannel, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified channel starting at the specified absolute
index
. - getBytes(int, GatheringByteChannel, int) - Method in class io.netty.buffer.CompositeByteBuf
- getBytes(int, GatheringByteChannel, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getBytes(int, GatheringByteChannel, int) - Method in class io.netty.buffer.EmptyByteBuf
- getBytes(int, GatheringByteChannel, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getBytes(int, GatheringByteChannel, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getBytes(int, GatheringByteChannel, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getBytes(int, GatheringByteChannel, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getBytes(ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
-
Create a copy of the underlying storage from
buf
into a byte array. - getBytes(ByteBuf, int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Create a copy of the underlying storage from
buf
into a byte array. - getBytes(ByteBuf, int, int, boolean) - Static method in class io.netty.buffer.ByteBufUtil
-
Return an array of the underlying storage from
buf
into a byte array. - getChar(int) - Method in class io.netty.buffer.AbstractByteBuf
- getChar(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 2-byte UTF-16 character at the specified absolute
index
in this buffer. - getChar(int) - Method in class io.netty.buffer.EmptyByteBuf
- getChar(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getCharSequence(int, int, Charset) - Method in class io.netty.buffer.AbstractByteBuf
- getCharSequence(int, int, Charset) - Method in class io.netty.buffer.ByteBuf
-
Gets a
CharSequence
with the given length at the given index. - getCharSequence(int, int, Charset) - Method in class io.netty.buffer.EmptyByteBuf
- getCharSequence(int, int, Charset) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getDouble(int) - Method in class io.netty.buffer.AbstractByteBuf
- getDouble(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 64-bit floating point number at the specified absolute
index
in this buffer. - getDouble(int) - Method in class io.netty.buffer.EmptyByteBuf
- getDouble(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getDoubleLE(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 64-bit floating point number at the specified absolute
index
in this buffer in Little Endian Byte Order. - getFloat(int) - Method in class io.netty.buffer.AbstractByteBuf
- getFloat(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 32-bit floating point number at the specified absolute
index
in this buffer. - getFloat(int) - Method in class io.netty.buffer.EmptyByteBuf
- getFloat(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getFloatLE(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 32-bit floating point number at the specified absolute
index
in this buffer in Little Endian Byte Order. - getFoundNeedleId() - Method in class io.netty.buffer.search.AhoCorasicSearchProcessorFactory.Processor
- getFoundNeedleId() - Method in interface io.netty.buffer.search.MultiSearchProcessor
- getInt(int) - Method in class io.netty.buffer.AbstractByteBuf
- getInt(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 32-bit integer at the specified absolute
index
in this buffer. - getInt(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getInt(int) - Method in class io.netty.buffer.EmptyByteBuf
- getInt(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getInt(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getInt(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getInt(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getInt(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- getInt(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- getIntLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- getIntLE(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 32-bit integer at the specified absolute
index
in this buffer with Little Endian Byte Order. - getIntLE(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getIntLE(int) - Method in class io.netty.buffer.EmptyByteBuf
- getIntLE(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getIntLE(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getIntLE(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getIntLE(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- getLong(int) - Method in class io.netty.buffer.AbstractByteBuf
- getLong(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 64-bit long integer at the specified absolute
index
in this buffer. - getLong(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getLong(int) - Method in class io.netty.buffer.EmptyByteBuf
- getLong(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getLong(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getLong(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getLong(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getLong(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- getLong(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- getLongLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- getLongLE(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 64-bit long integer at the specified absolute
index
in this buffer in Little Endian Byte Order. - getLongLE(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getLongLE(int) - Method in class io.netty.buffer.EmptyByteBuf
- getLongLE(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getLongLE(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getLongLE(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getLongLE(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- getMedium(int) - Method in class io.netty.buffer.AbstractByteBuf
- getMedium(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 24-bit medium integer at the specified absolute
index
in this buffer. - getMedium(int) - Method in class io.netty.buffer.EmptyByteBuf
- getMedium(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getMediumLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- getMediumLE(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 24-bit medium integer at the specified absolute
index
in this buffer in the Little Endian Byte Order. - getMediumLE(int) - Method in class io.netty.buffer.EmptyByteBuf
- getMediumLE(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getShort(int) - Method in class io.netty.buffer.AbstractByteBuf
- getShort(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 16-bit short integer at the specified absolute
index
in this buffer. - getShort(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getShort(int) - Method in class io.netty.buffer.EmptyByteBuf
- getShort(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getShort(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getShort(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getShort(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getShort(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- getShort(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- getShortLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- getShortLE(int) - Method in class io.netty.buffer.ByteBuf
-
Gets a 16-bit short integer at the specified absolute
index
in this buffer in Little Endian Byte Order. - getShortLE(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getShortLE(int) - Method in class io.netty.buffer.EmptyByteBuf
- getShortLE(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getShortLE(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getShortLE(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getShortLE(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- getUnsignedByte(int) - Method in class io.netty.buffer.AbstractByteBuf
- getUnsignedByte(int) - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned byte at the specified absolute
index
in this buffer. - getUnsignedByte(int) - Method in class io.netty.buffer.EmptyByteBuf
- getUnsignedByte(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getUnsignedInt(int) - Method in class io.netty.buffer.AbstractByteBuf
- getUnsignedInt(int) - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 32-bit integer at the specified absolute
index
in this buffer. - getUnsignedInt(int) - Method in class io.netty.buffer.EmptyByteBuf
- getUnsignedInt(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getUnsignedIntLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- getUnsignedIntLE(int) - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 32-bit integer at the specified absolute
index
in this buffer in Little Endian Byte Order. - getUnsignedIntLE(int) - Method in class io.netty.buffer.EmptyByteBuf
- getUnsignedIntLE(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getUnsignedMedium(int) - Method in class io.netty.buffer.AbstractByteBuf
- getUnsignedMedium(int) - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 24-bit medium integer at the specified absolute
index
in this buffer. - getUnsignedMedium(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getUnsignedMedium(int) - Method in class io.netty.buffer.EmptyByteBuf
- getUnsignedMedium(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getUnsignedMedium(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getUnsignedMedium(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- getUnsignedMedium(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getUnsignedMedium(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- getUnsignedMedium(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- getUnsignedMediumLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- getUnsignedMediumLE(int) - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 24-bit medium integer at the specified absolute
index
in this buffer in Little Endian Byte Order. - getUnsignedMediumLE(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- getUnsignedMediumLE(int) - Method in class io.netty.buffer.EmptyByteBuf
- getUnsignedMediumLE(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- getUnsignedMediumLE(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getUnsignedMediumLE(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- getUnsignedMediumLE(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- getUnsignedShort(int) - Method in class io.netty.buffer.AbstractByteBuf
- getUnsignedShort(int) - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 16-bit short integer at the specified absolute
index
in this buffer. - getUnsignedShort(int) - Method in class io.netty.buffer.EmptyByteBuf
- getUnsignedShort(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- getUnsignedShortLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- getUnsignedShortLE(int) - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 16-bit short integer at the specified absolute
index
in this buffer in Little Endian Byte Order. - getUnsignedShortLE(int) - Method in class io.netty.buffer.EmptyByteBuf
- getUnsignedShortLE(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
H
- hasArray() - Method in class io.netty.buffer.ByteBuf
-
Returns
true
if and only if this buffer has a backing byte array. - hasArray() - Method in class io.netty.buffer.CompositeByteBuf
- hasArray() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- hasArray() - Method in class io.netty.buffer.EmptyByteBuf
- hasArray() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- hasArray() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- hasArray() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- hasArray() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- hashCode() - Method in class io.netty.buffer.AbstractByteBuf
- hashCode() - Method in class io.netty.buffer.ByteBuf
-
Returns a hash code which was calculated from the content of this buffer.
- hashCode() - Method in class io.netty.buffer.DefaultByteBufHolder
- hashCode() - Method in class io.netty.buffer.EmptyByteBuf
- hashCode() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- hashCode(ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
-
Calculates the hash code of the specified buffer.
- hasMemoryAddress() - Method in class io.netty.buffer.ByteBuf
-
Returns
true
if and only if this buffer has a reference to the low-level memory address that points to the backing data. - hasMemoryAddress() - Method in class io.netty.buffer.CompositeByteBuf
- hasMemoryAddress() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- hasMemoryAddress() - Method in class io.netty.buffer.EmptyByteBuf
- hasMemoryAddress() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- hasMemoryAddress() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- hasMemoryAddress() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- hasMemoryAddress() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- hasMemoryAddress() - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- hasThreadLocalCache() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.will be removed Returns
true
if the callingThread
has aThreadLocal
cache for the allocated buffers. - heapArenas() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.
- heapArenas() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
-
Return a
List
of all heapPoolArenaMetric
s that are provided by this pool. - heapBuffer() - Method in class io.netty.buffer.AbstractByteBufAllocator
- heapBuffer() - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a heap
ByteBuf
. - heapBuffer(int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- heapBuffer(int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a heap
ByteBuf
with the given initial capacity. - heapBuffer(int, int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- heapBuffer(int, int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a heap
ByteBuf
with the given initial capacity and the given maximal capacity. - hexDump(byte[]) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns a hex dump of the specified byte array.
- hexDump(byte[], int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns a hex dump of the specified byte array's sub-region.
- hexDump(ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns a hex dump of the specified buffer's readable bytes.
- hexDump(ByteBuf, int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns a hex dump of the specified buffer's sub-region.
I
- indexOf(int, int, byte) - Method in class io.netty.buffer.AbstractByteBuf
- indexOf(int, int, byte) - Method in class io.netty.buffer.ByteBuf
-
Locates the first occurrence of the specified
value
in this buffer. - indexOf(int, int, byte) - Method in class io.netty.buffer.EmptyByteBuf
- indexOf(int, int, byte) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- indexOf(ByteBuf, int, int, byte) - Static method in class io.netty.buffer.ByteBufUtil
-
The default implementation of
ByteBuf.indexOf(int, int, byte)
. - indexOf(ByteBuf, ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns the reader index of needle in haystack, or -1 if needle is not in haystack.
- internalComponent(int) - Method in class io.netty.buffer.CompositeByteBuf
-
Return the internal
ByteBuf
on the specified index. - internalComponentAtOffset(int) - Method in class io.netty.buffer.CompositeByteBuf
-
Return the internal
ByteBuf
on the specified offset. - internalNioBuffer(int, int) - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- internalNioBuffer(int, int) - Method in class io.netty.buffer.ByteBuf
-
Internal use only: Exposes the internal NIO buffer.
- internalNioBuffer(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- internalNioBuffer(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- internalNioBuffer(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- internalNioBuffer(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- internalNioBuffer(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- io.netty.buffer - package io.netty.buffer
-
Abstraction of a byte buffer - the fundamental data structure to represent a low-level binary and text message.
- io.netty.buffer.search - package io.netty.buffer.search
-
Utility classes for performing efficient substring search within
ByteBuf
. - ioBuffer() - Method in class io.netty.buffer.AbstractByteBufAllocator
- ioBuffer() - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a
ByteBuf
, preferably a direct buffer which is suitable for I/O. - ioBuffer(int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- ioBuffer(int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a
ByteBuf
, preferably a direct buffer which is suitable for I/O. - ioBuffer(int, int) - Method in class io.netty.buffer.AbstractByteBufAllocator
- ioBuffer(int, int) - Method in interface io.netty.buffer.ByteBufAllocator
-
Allocate a
ByteBuf
, preferably a direct buffer which is suitable for I/O. - isAccessible(ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
- isContiguous() - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- isContiguous() - Method in class io.netty.buffer.ByteBuf
-
Returns
true
if thisByteBuf
implementation is backed by a single memory region. - isContiguous() - Method in class io.netty.buffer.EmptyByteBuf
- isContiguous() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- isContiguous() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- isContiguous() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- isDirect() - Method in class io.netty.buffer.ByteBuf
-
Returns
true
if and only if this buffer is backed by an NIO direct buffer. - isDirect() - Method in class io.netty.buffer.CompositeByteBuf
- isDirect() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- isDirect() - Method in class io.netty.buffer.EmptyByteBuf
- isDirect() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- isDirect() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- isDirect() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- isDirect() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- isDirectBufferPooled() - Method in class io.netty.buffer.AdaptiveByteBufAllocator
- isDirectBufferPooled() - Method in interface io.netty.buffer.ByteBufAllocator
-
Returns
true
if directByteBuf
's are pooled - isDirectBufferPooled() - Method in class io.netty.buffer.PooledByteBufAllocator
- isDirectBufferPooled() - Method in class io.netty.buffer.UnpooledByteBufAllocator
- isDirectMemoryCacheAlignmentSupported() - Static method in class io.netty.buffer.PooledByteBufAllocator
-
Return
true
if direct memory cache alignment is supported,false
otherwise. - isReadable() - Method in class io.netty.buffer.AbstractByteBuf
- isReadable() - Method in class io.netty.buffer.ByteBuf
-
Returns
true
if and only if(this.writerIndex - this.readerIndex)
is greater than0
. - isReadable() - Method in class io.netty.buffer.EmptyByteBuf
- isReadable() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- isReadable(int) - Method in class io.netty.buffer.AbstractByteBuf
- isReadable(int) - Method in class io.netty.buffer.ByteBuf
-
Returns
true
if and only if this buffer contains equal to or more than the specified number of elements. - isReadable(int) - Method in class io.netty.buffer.EmptyByteBuf
- isReadable(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- isReadOnly() - Method in class io.netty.buffer.AbstractByteBuf
- isReadOnly() - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- isReadOnly() - Method in class io.netty.buffer.ByteBuf
-
Returns
true
if and only if this buffer is read-only. - isReadOnly() - Method in class io.netty.buffer.EmptyByteBuf
- isReadOnly() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- isReadOnly() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- isText(ByteBuf, int, int, Charset) - Static method in class io.netty.buffer.ByteBufUtil
- isText(ByteBuf, Charset) - Static method in class io.netty.buffer.ByteBufUtil
- isWritable() - Method in class io.netty.buffer.AbstractByteBuf
- isWritable() - Method in class io.netty.buffer.ByteBuf
-
Returns
true
if and only if(this.capacity - this.writerIndex)
is greater than0
. - isWritable() - Method in class io.netty.buffer.EmptyByteBuf
- isWritable() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- isWritable() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- isWritable(int) - Method in class io.netty.buffer.AbstractByteBuf
- isWritable(int) - Method in class io.netty.buffer.ByteBuf
-
Returns
true
if and only if this buffer has enough room to allow writing the specified number of elements. - isWritable(int) - Method in class io.netty.buffer.EmptyByteBuf
- isWritable(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- isWritable(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- iterator() - Method in class io.netty.buffer.CompositeByteBuf
K
- KmpSearchProcessorFactory - Class in io.netty.buffer.search
-
Implements Knuth-Morris-Pratt string search algorithm.
- KmpSearchProcessorFactory.Processor - Class in io.netty.buffer.search
L
- LITTLE_ENDIAN - Static variable in class io.netty.buffer.Unpooled
-
Little endian byte order.
M
- mark(int) - Method in class io.netty.buffer.ByteBufInputStream
- markReaderIndex() - Method in class io.netty.buffer.AbstractByteBuf
- markReaderIndex() - Method in class io.netty.buffer.ByteBuf
-
Marks the current
readerIndex
in this buffer. - markReaderIndex() - Method in class io.netty.buffer.CompositeByteBuf
- markReaderIndex() - Method in class io.netty.buffer.EmptyByteBuf
- markReaderIndex() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- markSupported() - Method in class io.netty.buffer.ByteBufInputStream
- markWriterIndex() - Method in class io.netty.buffer.AbstractByteBuf
- markWriterIndex() - Method in class io.netty.buffer.ByteBuf
-
Marks the current
writerIndex
in this buffer. - markWriterIndex() - Method in class io.netty.buffer.CompositeByteBuf
- markWriterIndex() - Method in class io.netty.buffer.EmptyByteBuf
- markWriterIndex() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- maxCapacity() - Method in class io.netty.buffer.AbstractByteBuf
- maxCapacity() - Method in class io.netty.buffer.ByteBuf
-
Returns the maximum allowed capacity of this buffer.
- maxCapacity() - Method in class io.netty.buffer.EmptyByteBuf
- maxCapacity() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- maxCapacity(int) - Method in class io.netty.buffer.AbstractByteBuf
- maxFastWritableBytes() - Method in class io.netty.buffer.ByteBuf
-
Returns the maximum number of bytes which can be written for certain without involving an internal reallocation or data-copy.
- maxFastWritableBytes() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- maxNumComponents() - Method in class io.netty.buffer.CompositeByteBuf
-
Return the max number of
ByteBuf
's that are composed in this instance - maxNumElements() - Method in interface io.netty.buffer.PoolSubpageMetric
-
Return the number of maximal elements that can be allocated out of the sub-page.
- maxUsage() - Method in interface io.netty.buffer.PoolChunkListMetric
-
Return the maximum usage of the chunk list after which chunks are promoted to the next list.
- maxWritableBytes() - Method in class io.netty.buffer.AbstractByteBuf
- maxWritableBytes() - Method in class io.netty.buffer.ByteBuf
-
Returns the maximum possible number of writable bytes, which is equal to
(this.maxCapacity - this.writerIndex)
. - maxWritableBytes() - Method in class io.netty.buffer.EmptyByteBuf
- maxWritableBytes() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- memoryAddress() - Method in class io.netty.buffer.ByteBuf
-
Returns the low-level memory address that point to the first byte of ths backing data.
- memoryAddress() - Method in class io.netty.buffer.CompositeByteBuf
- memoryAddress() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- memoryAddress() - Method in class io.netty.buffer.EmptyByteBuf
- memoryAddress() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- memoryAddress() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- memoryAddress() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- memoryAddress() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- memoryAddress() - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- metric() - Method in class io.netty.buffer.AdaptiveByteBufAllocator
- metric() - Method in interface io.netty.buffer.ByteBufAllocatorMetricProvider
-
Returns a
ByteBufAllocatorMetric
for aByteBufAllocator
. - metric() - Method in class io.netty.buffer.PooledByteBufAllocator
- metric() - Method in class io.netty.buffer.UnpooledByteBufAllocator
- minUsage() - Method in interface io.netty.buffer.PoolChunkListMetric
-
Return the minimum usage of the chunk list before which chunks are promoted to the previous list.
- MultiSearchProcessor - Interface in io.netty.buffer.search
-
Interface for
SearchProcessor
that implements simultaneous search for multiple strings. - MultiSearchProcessorFactory - Interface in io.netty.buffer.search
N
- newAhoCorasicSearchProcessorFactory(byte[]...) - Static method in class io.netty.buffer.search.AbstractMultiSearchProcessorFactory
-
Creates a
MultiSearchProcessorFactory
based on Aho–Corasick string search algorithm. - newBitapSearchProcessorFactory(byte[]) - Static method in class io.netty.buffer.search.AbstractSearchProcessorFactory
-
Creates a
SearchProcessorFactory
based on Bitap string search algorithm. - newDirectBuffer(int, int) - Method in class io.netty.buffer.AbstractByteBufAllocator
-
Create a direct
ByteBuf
with the given initialCapacity and maxCapacity. - newDirectBuffer(int, int) - Method in class io.netty.buffer.AdaptiveByteBufAllocator
- newDirectBuffer(int, int) - Method in class io.netty.buffer.PooledByteBufAllocator
- newDirectBuffer(int, int) - Method in class io.netty.buffer.UnpooledByteBufAllocator
- newHeapBuffer(int, int) - Method in class io.netty.buffer.AbstractByteBufAllocator
-
Create a heap
ByteBuf
with the given initialCapacity and maxCapacity. - newHeapBuffer(int, int) - Method in class io.netty.buffer.AdaptiveByteBufAllocator
- newHeapBuffer(int, int) - Method in class io.netty.buffer.PooledByteBufAllocator
- newHeapBuffer(int, int) - Method in class io.netty.buffer.UnpooledByteBufAllocator
- newKmpSearchProcessorFactory(byte[]) - Static method in class io.netty.buffer.search.AbstractSearchProcessorFactory
-
Creates a
SearchProcessorFactory
based on Knuth-Morris-Pratt string search algorithm. - newSearchProcessor() - Method in class io.netty.buffer.search.AhoCorasicSearchProcessorFactory
-
Returns a new
AhoCorasicSearchProcessorFactory.Processor
. - newSearchProcessor() - Method in class io.netty.buffer.search.BitapSearchProcessorFactory
-
Returns a new
BitapSearchProcessorFactory.Processor
. - newSearchProcessor() - Method in class io.netty.buffer.search.KmpSearchProcessorFactory
-
Returns a new
KmpSearchProcessorFactory.Processor
. - newSearchProcessor() - Method in interface io.netty.buffer.search.MultiSearchProcessorFactory
-
Returns a new
MultiSearchProcessor
. - newSearchProcessor() - Method in interface io.netty.buffer.search.SearchProcessorFactory
-
Returns a new
SearchProcessor
. - newSwappedByteBuf() - Method in class io.netty.buffer.AbstractByteBuf
-
Creates a new
SwappedByteBuf
for thisByteBuf
instance. - newSwappedByteBuf() - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- newSwappedByteBuf() - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
-
Deprecated.
- nioBuffer() - Method in class io.netty.buffer.AbstractByteBuf
- nioBuffer() - Method in class io.netty.buffer.ByteBuf
-
Exposes this buffer's readable bytes as an NIO
ByteBuffer
. - nioBuffer() - Method in class io.netty.buffer.EmptyByteBuf
- nioBuffer() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- nioBuffer(int, int) - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- nioBuffer(int, int) - Method in class io.netty.buffer.ByteBuf
-
Exposes this buffer's sub-region as an NIO
ByteBuffer
. - nioBuffer(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- nioBuffer(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- nioBuffer(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- nioBuffer(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- nioBuffer(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- nioBuffer(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- nioBufferCount() - Method in class io.netty.buffer.ByteBuf
-
Returns the maximum number of NIO
ByteBuffer
s that consist this buffer. - nioBufferCount() - Method in class io.netty.buffer.CompositeByteBuf
- nioBufferCount() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- nioBufferCount() - Method in class io.netty.buffer.EmptyByteBuf
- nioBufferCount() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- nioBufferCount() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- nioBufferCount() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- nioBufferCount() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- nioBuffers() - Method in class io.netty.buffer.AbstractByteBuf
- nioBuffers() - Method in class io.netty.buffer.ByteBuf
-
Exposes this buffer's readable bytes as an NIO
ByteBuffer
's. - nioBuffers() - Method in class io.netty.buffer.CompositeByteBuf
- nioBuffers() - Method in class io.netty.buffer.EmptyByteBuf
- nioBuffers() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- nioBuffers(int, int) - Method in class io.netty.buffer.ByteBuf
-
Exposes this buffer's bytes as an NIO
ByteBuffer
's for the specified index and length The returned buffer either share or contains the copied content of this buffer, while changing the position and limit of the returned NIO buffer does not affect the indexes and marks of this buffer. - nioBuffers(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- nioBuffers(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- nioBuffers(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- nioBuffers(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- nioBuffers(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- nioBuffers(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- nioBuffers(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- normalCacheSize() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.
- normalCacheSize() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
-
Return the size of the normal cache.
- normalizeSize(int) - Method in interface io.netty.buffer.SizeClassesMetric
-
Normalizes usable size that would result from allocating an object with the specified size and alignment.
- numActiveAllocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of currently active allocations.
- numActiveBytes() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of active bytes that are currently allocated by the arena.
- numActiveHugeAllocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of currently active huge allocations.
- numActiveNormalAllocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of currently active normal allocations.
- numActiveSmallAllocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of currently active small allocations.
- numActiveTinyAllocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Deprecated.Tiny allocations have been merged into small allocations.
- numAllocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of allocations done via the arena.
- numAvailable() - Method in interface io.netty.buffer.PoolSubpageMetric
-
Return the number of available elements to be allocated.
- numChunkLists() - Method in interface io.netty.buffer.PoolArenaMetric
-
Returns the number of chunk lists for the arena.
- numComponents() - Method in class io.netty.buffer.CompositeByteBuf
-
Return the current number of
ByteBuf
's that are composed in this instance - numDeallocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of deallocations done via the arena.
- numDirectArenas() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.
- numDirectArenas() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
-
Return the number of direct arenas.
- numHeapArenas() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.
- numHeapArenas() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
-
Return the number of heap arenas.
- numHugeAllocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of huge allocations done via the arena.
- numHugeDeallocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of huge deallocations done via the arena.
- numNormalAllocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of normal allocations done via the arena.
- numNormalDeallocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of normal deallocations done via the arena.
- numSmallAllocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of small allocations done via the arena.
- numSmallDeallocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Return the number of small deallocations done via the arena.
- numSmallSubpages() - Method in interface io.netty.buffer.PoolArenaMetric
-
Returns the number of small sub-pages for the arena.
- numThreadCaches() - Method in interface io.netty.buffer.PoolArenaMetric
-
Returns the number of thread caches backed by this arena.
- numThreadLocalCaches() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.
- numThreadLocalCaches() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
-
Return the number of thread local caches used by this
PooledByteBufAllocator
. - numTinyAllocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Deprecated.Tiny allocations have been merged into small allocations.
- numTinyDeallocations() - Method in interface io.netty.buffer.PoolArenaMetric
-
Deprecated.Tiny deallocations have been merged into small deallocations.
- numTinySubpages() - Method in interface io.netty.buffer.PoolArenaMetric
-
Deprecated.Tiny sub-pages have been merged into small sub-pages.
O
- order() - Method in class io.netty.buffer.ByteBuf
-
Deprecated.use the Little Endian accessors, e.g.
getShortLE
,getIntLE
instead of creating a buffer with swappedendianness
. - order() - Method in class io.netty.buffer.CompositeByteBuf
- order() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- order() - Method in class io.netty.buffer.EmptyByteBuf
- order() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- order() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- order() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- order() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- order(ByteOrder) - Method in class io.netty.buffer.AbstractByteBuf
- order(ByteOrder) - Method in class io.netty.buffer.ByteBuf
-
Deprecated.use the Little Endian accessors, e.g.
getShortLE
,getIntLE
instead of creating a buffer with swappedendianness
. - order(ByteOrder) - Method in class io.netty.buffer.EmptyByteBuf
- order(ByteOrder) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
P
- pageIdx2size(int) - Method in interface io.netty.buffer.SizeClassesMetric
-
Computes size from lookup table according to pageIdx.
- pageIdx2sizeCompute(int) - Method in interface io.netty.buffer.SizeClassesMetric
-
Computes size according to pageIdx.
- pages2pageIdx(int) - Method in interface io.netty.buffer.SizeClassesMetric
-
Normalizes request size up to the nearest pageSize class.
- pages2pageIdxFloor(int) - Method in interface io.netty.buffer.SizeClassesMetric
-
Normalizes request size down to the nearest pageSize class.
- pageSize() - Method in interface io.netty.buffer.PoolSubpageMetric
-
Return the page size (in bytes) of this page.
- pinnedDirectMemory() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Returns the number of bytes of direct memory that is currently pinned to direct buffers allocated by a
ByteBufAllocator
, or-1
if unknown. - pinnedHeapMemory() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Returns the number of bytes of heap memory that is currently pinned to heap buffers allocated by a
ByteBufAllocator
, or-1
if unknown. - PoolArenaMetric - Interface in io.netty.buffer
-
Expose metrics for an arena.
- PoolChunkListMetric - Interface in io.netty.buffer
-
Metrics for a list of chunks.
- PoolChunkMetric - Interface in io.netty.buffer
-
Metrics for a chunk.
- PooledByteBufAllocator - Class in io.netty.buffer
- PooledByteBufAllocator() - Constructor for class io.netty.buffer.PooledByteBufAllocator
- PooledByteBufAllocator(boolean) - Constructor for class io.netty.buffer.PooledByteBufAllocator
- PooledByteBufAllocator(boolean, int, int, int, int) - Constructor for class io.netty.buffer.PooledByteBufAllocator
- PooledByteBufAllocator(boolean, int, int, int, int, int, int, boolean) - Constructor for class io.netty.buffer.PooledByteBufAllocator
- PooledByteBufAllocator(boolean, int, int, int, int, int, int, boolean, int) - Constructor for class io.netty.buffer.PooledByteBufAllocator
- PooledByteBufAllocator(boolean, int, int, int, int, int, int, int) - Constructor for class io.netty.buffer.PooledByteBufAllocator
- PooledByteBufAllocator(boolean, int, int, int, int, int, int, int, boolean) - Constructor for class io.netty.buffer.PooledByteBufAllocator
- PooledByteBufAllocator(boolean, int, int, int, int, int, int, int, boolean, int) - Constructor for class io.netty.buffer.PooledByteBufAllocator
- PooledByteBufAllocator(int, int, int, int) - Constructor for class io.netty.buffer.PooledByteBufAllocator
- PooledByteBufAllocatorMetric - Class in io.netty.buffer
-
Exposed metric for
PooledByteBufAllocator
. - PoolSubpageMetric - Interface in io.netty.buffer
-
Metrics for a sub-page.
- prettyHexDump(ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns a multi-line hexadecimal dump of the specified
ByteBuf
that is easy to read by humans. - prettyHexDump(ByteBuf, int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns a multi-line hexadecimal dump of the specified
ByteBuf
that is easy to read by humans, starting at the givenoffset
using the givenlength
. - process(byte) - Method in class io.netty.buffer.search.AhoCorasicSearchProcessorFactory.Processor
- process(byte) - Method in class io.netty.buffer.search.BitapSearchProcessorFactory.Processor
- process(byte) - Method in class io.netty.buffer.search.KmpSearchProcessorFactory.Processor
R
- read() - Method in class io.netty.buffer.ByteBufInputStream
- read(byte[], int, int) - Method in class io.netty.buffer.ByteBufInputStream
- readableBytes() - Method in class io.netty.buffer.AbstractByteBuf
- readableBytes() - Method in class io.netty.buffer.ByteBuf
-
Returns the number of readable bytes which is equal to
(this.writerIndex - this.readerIndex)
. - readableBytes() - Method in class io.netty.buffer.EmptyByteBuf
- readableBytes() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBoolean() - Method in class io.netty.buffer.AbstractByteBuf
- readBoolean() - Method in class io.netty.buffer.ByteBuf
-
Gets a boolean at the current
readerIndex
and increases thereaderIndex
by1
in this buffer. - readBoolean() - Method in class io.netty.buffer.ByteBufInputStream
- readBoolean() - Method in class io.netty.buffer.EmptyByteBuf
- readBoolean() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readByte() - Method in class io.netty.buffer.AbstractByteBuf
- readByte() - Method in class io.netty.buffer.ByteBuf
-
Gets a byte at the current
readerIndex
and increases thereaderIndex
by1
in this buffer. - readByte() - Method in class io.netty.buffer.ByteBufInputStream
- readByte() - Method in class io.netty.buffer.EmptyByteBuf
- readByte() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes() - Method in class io.netty.buffer.ByteBufInputStream
-
Returns the number of read bytes by this stream so far.
- readBytes(byte[]) - Method in class io.netty.buffer.AbstractByteBuf
- readBytes(byte[]) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the current
readerIndex
and increases thereaderIndex
by the number of the transferred bytes (=dst.length
). - readBytes(byte[]) - Method in class io.netty.buffer.CompositeByteBuf
- readBytes(byte[]) - Method in class io.netty.buffer.EmptyByteBuf
- readBytes(byte[]) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes(byte[], int, int) - Method in class io.netty.buffer.AbstractByteBuf
- readBytes(byte[], int, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the current
readerIndex
and increases thereaderIndex
by the number of the transferred bytes (=length
). - readBytes(byte[], int, int) - Method in class io.netty.buffer.CompositeByteBuf
- readBytes(byte[], int, int) - Method in class io.netty.buffer.EmptyByteBuf
- readBytes(byte[], int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes(byte[], int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- readBytes(int) - Method in class io.netty.buffer.AbstractByteBuf
- readBytes(int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to a newly created buffer starting at the current
readerIndex
and increases thereaderIndex
by the number of the transferred bytes (=length
). - readBytes(int) - Method in class io.netty.buffer.EmptyByteBuf
- readBytes(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes(ByteBuf) - Method in class io.netty.buffer.AbstractByteBuf
- readBytes(ByteBuf) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the current
readerIndex
until the destination becomes non-writable, and increases thereaderIndex
by the number of the transferred bytes. - readBytes(ByteBuf) - Method in class io.netty.buffer.CompositeByteBuf
- readBytes(ByteBuf) - Method in class io.netty.buffer.EmptyByteBuf
- readBytes(ByteBuf) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes(ByteBufAllocator, ByteBuf, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Read the given amount of bytes into a new
ByteBuf
that is allocated from theByteBufAllocator
. - readBytes(ByteBuf, int) - Method in class io.netty.buffer.AbstractByteBuf
- readBytes(ByteBuf, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the current
readerIndex
and increases thereaderIndex
by the number of the transferred bytes (=length
). - readBytes(ByteBuf, int) - Method in class io.netty.buffer.CompositeByteBuf
- readBytes(ByteBuf, int) - Method in class io.netty.buffer.EmptyByteBuf
- readBytes(ByteBuf, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes(ByteBuf, int, int) - Method in class io.netty.buffer.AbstractByteBuf
- readBytes(ByteBuf, int, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the current
readerIndex
and increases thereaderIndex
by the number of the transferred bytes (=length
). - readBytes(ByteBuf, int, int) - Method in class io.netty.buffer.CompositeByteBuf
- readBytes(ByteBuf, int, int) - Method in class io.netty.buffer.EmptyByteBuf
- readBytes(ByteBuf, int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes(OutputStream, int) - Method in class io.netty.buffer.AbstractByteBuf
- readBytes(OutputStream, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified stream starting at the current
readerIndex
. - readBytes(OutputStream, int) - Method in class io.netty.buffer.CompositeByteBuf
- readBytes(OutputStream, int) - Method in class io.netty.buffer.EmptyByteBuf
- readBytes(OutputStream, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes(OutputStream, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- readBytes(ByteBuffer) - Method in class io.netty.buffer.AbstractByteBuf
- readBytes(ByteBuffer) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified destination starting at the current
readerIndex
until the destination's position reaches its limit, and increases thereaderIndex
by the number of the transferred bytes. - readBytes(ByteBuffer) - Method in class io.netty.buffer.CompositeByteBuf
- readBytes(ByteBuffer) - Method in class io.netty.buffer.EmptyByteBuf
- readBytes(ByteBuffer) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes(ByteBuffer) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- readBytes(FileChannel, long, int) - Method in class io.netty.buffer.AbstractByteBuf
- readBytes(FileChannel, long, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data starting at the current
readerIndex
to the specified channel starting at the given file position. - readBytes(FileChannel, long, int) - Method in class io.netty.buffer.EmptyByteBuf
- readBytes(FileChannel, long, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes(FileChannel, long, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- readBytes(FileChannel, long, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- readBytes(GatheringByteChannel, int) - Method in class io.netty.buffer.AbstractByteBuf
- readBytes(GatheringByteChannel, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers this buffer's data to the specified stream starting at the current
readerIndex
. - readBytes(GatheringByteChannel, int) - Method in class io.netty.buffer.EmptyByteBuf
- readBytes(GatheringByteChannel, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readBytes(GatheringByteChannel, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- readBytes(GatheringByteChannel, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- readChar() - Method in class io.netty.buffer.AbstractByteBuf
- readChar() - Method in class io.netty.buffer.ByteBuf
-
Gets a 2-byte UTF-16 character at the current
readerIndex
and increases thereaderIndex
by2
in this buffer. - readChar() - Method in class io.netty.buffer.ByteBufInputStream
- readChar() - Method in class io.netty.buffer.EmptyByteBuf
- readChar() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readCharSequence(int, Charset) - Method in class io.netty.buffer.AbstractByteBuf
- readCharSequence(int, Charset) - Method in class io.netty.buffer.ByteBuf
-
Gets a
CharSequence
with the given length at the currentreaderIndex
and increases thereaderIndex
by the given length. - readCharSequence(int, Charset) - Method in class io.netty.buffer.EmptyByteBuf
- readCharSequence(int, Charset) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readDouble() - Method in class io.netty.buffer.AbstractByteBuf
- readDouble() - Method in class io.netty.buffer.ByteBuf
-
Gets a 64-bit floating point number at the current
readerIndex
and increases thereaderIndex
by8
in this buffer. - readDouble() - Method in class io.netty.buffer.ByteBufInputStream
- readDouble() - Method in class io.netty.buffer.EmptyByteBuf
- readDouble() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readDoubleLE() - Method in class io.netty.buffer.ByteBuf
-
Gets a 64-bit floating point number at the current
readerIndex
in Little Endian Byte Order and increases thereaderIndex
by8
in this buffer. - readerIndex() - Method in class io.netty.buffer.AbstractByteBuf
- readerIndex() - Method in class io.netty.buffer.ByteBuf
-
Returns the
readerIndex
of this buffer. - readerIndex() - Method in class io.netty.buffer.EmptyByteBuf
- readerIndex() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readerIndex(int) - Method in class io.netty.buffer.AbstractByteBuf
- readerIndex(int) - Method in class io.netty.buffer.ByteBuf
-
Sets the
readerIndex
of this buffer. - readerIndex(int) - Method in class io.netty.buffer.CompositeByteBuf
- readerIndex(int) - Method in class io.netty.buffer.EmptyByteBuf
- readerIndex(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readFloat() - Method in class io.netty.buffer.AbstractByteBuf
- readFloat() - Method in class io.netty.buffer.ByteBuf
-
Gets a 32-bit floating point number at the current
readerIndex
and increases thereaderIndex
by4
in this buffer. - readFloat() - Method in class io.netty.buffer.ByteBufInputStream
- readFloat() - Method in class io.netty.buffer.EmptyByteBuf
- readFloat() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readFloatLE() - Method in class io.netty.buffer.ByteBuf
-
Gets a 32-bit floating point number at the current
readerIndex
in Little Endian Byte Order and increases thereaderIndex
by4
in this buffer. - readFully(byte[]) - Method in class io.netty.buffer.ByteBufInputStream
- readFully(byte[], int, int) - Method in class io.netty.buffer.ByteBufInputStream
- readInt() - Method in class io.netty.buffer.AbstractByteBuf
- readInt() - Method in class io.netty.buffer.ByteBuf
-
Gets a 32-bit integer at the current
readerIndex
and increases thereaderIndex
by4
in this buffer. - readInt() - Method in class io.netty.buffer.ByteBufInputStream
- readInt() - Method in class io.netty.buffer.EmptyByteBuf
- readInt() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readIntBE(ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
-
Reads a big-endian 32-bit integer from the buffer.
- readIntLE() - Method in class io.netty.buffer.AbstractByteBuf
- readIntLE() - Method in class io.netty.buffer.ByteBuf
-
Gets a 32-bit integer at the current
readerIndex
in the Little Endian Byte Order and increases thereaderIndex
by4
in this buffer. - readIntLE() - Method in class io.netty.buffer.EmptyByteBuf
- readIntLE() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readLine() - Method in class io.netty.buffer.ByteBufInputStream
- readLong() - Method in class io.netty.buffer.AbstractByteBuf
- readLong() - Method in class io.netty.buffer.ByteBuf
-
Gets a 64-bit integer at the current
readerIndex
and increases thereaderIndex
by8
in this buffer. - readLong() - Method in class io.netty.buffer.ByteBufInputStream
- readLong() - Method in class io.netty.buffer.EmptyByteBuf
- readLong() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readLongLE() - Method in class io.netty.buffer.AbstractByteBuf
- readLongLE() - Method in class io.netty.buffer.ByteBuf
-
Gets a 64-bit integer at the current
readerIndex
in the Little Endian Byte Order and increases thereaderIndex
by8
in this buffer. - readLongLE() - Method in class io.netty.buffer.EmptyByteBuf
- readLongLE() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readMedium() - Method in class io.netty.buffer.AbstractByteBuf
- readMedium() - Method in class io.netty.buffer.ByteBuf
-
Gets a 24-bit medium integer at the current
readerIndex
and increases thereaderIndex
by3
in this buffer. - readMedium() - Method in class io.netty.buffer.EmptyByteBuf
- readMedium() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readMediumLE() - Method in class io.netty.buffer.AbstractByteBuf
- readMediumLE() - Method in class io.netty.buffer.ByteBuf
-
Gets a 24-bit medium integer at the current
readerIndex
in the Little Endian Byte Order and increases thereaderIndex
by3
in this buffer. - readMediumLE() - Method in class io.netty.buffer.EmptyByteBuf
- readMediumLE() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- ReadOnlyByteBuf - Class in io.netty.buffer
-
Deprecated.Do not use.
- ReadOnlyByteBuf(ByteBuf) - Constructor for class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- readRetainedSlice(int) - Method in class io.netty.buffer.AbstractByteBuf
- readRetainedSlice(int) - Method in class io.netty.buffer.ByteBuf
-
Returns a new retained slice of this buffer's sub-region starting at the current
readerIndex
and increases thereaderIndex
by the size of the new slice (=length
). - readRetainedSlice(int) - Method in class io.netty.buffer.EmptyByteBuf
- readRetainedSlice(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readShort() - Method in class io.netty.buffer.AbstractByteBuf
- readShort() - Method in class io.netty.buffer.ByteBuf
-
Gets a 16-bit short integer at the current
readerIndex
and increases thereaderIndex
by2
in this buffer. - readShort() - Method in class io.netty.buffer.ByteBufInputStream
- readShort() - Method in class io.netty.buffer.EmptyByteBuf
- readShort() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readShortLE() - Method in class io.netty.buffer.AbstractByteBuf
- readShortLE() - Method in class io.netty.buffer.ByteBuf
-
Gets a 16-bit short integer at the current
readerIndex
in the Little Endian Byte Order and increases thereaderIndex
by2
in this buffer. - readShortLE() - Method in class io.netty.buffer.EmptyByteBuf
- readShortLE() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readSlice(int) - Method in class io.netty.buffer.AbstractByteBuf
- readSlice(int) - Method in class io.netty.buffer.ByteBuf
-
Returns a new slice of this buffer's sub-region starting at the current
readerIndex
and increases thereaderIndex
by the size of the new slice (=length
). - readSlice(int) - Method in class io.netty.buffer.EmptyByteBuf
- readSlice(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readUnsignedByte() - Method in class io.netty.buffer.AbstractByteBuf
- readUnsignedByte() - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned byte at the current
readerIndex
and increases thereaderIndex
by1
in this buffer. - readUnsignedByte() - Method in class io.netty.buffer.ByteBufInputStream
- readUnsignedByte() - Method in class io.netty.buffer.EmptyByteBuf
- readUnsignedByte() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readUnsignedInt() - Method in class io.netty.buffer.AbstractByteBuf
- readUnsignedInt() - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 32-bit integer at the current
readerIndex
and increases thereaderIndex
by4
in this buffer. - readUnsignedInt() - Method in class io.netty.buffer.EmptyByteBuf
- readUnsignedInt() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readUnsignedIntLE() - Method in class io.netty.buffer.AbstractByteBuf
- readUnsignedIntLE() - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 32-bit integer at the current
readerIndex
in the Little Endian Byte Order and increases thereaderIndex
by4
in this buffer. - readUnsignedIntLE() - Method in class io.netty.buffer.EmptyByteBuf
- readUnsignedIntLE() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readUnsignedMedium() - Method in class io.netty.buffer.AbstractByteBuf
- readUnsignedMedium() - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 24-bit medium integer at the current
readerIndex
and increases thereaderIndex
by3
in this buffer. - readUnsignedMedium() - Method in class io.netty.buffer.EmptyByteBuf
- readUnsignedMedium() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readUnsignedMediumLE() - Method in class io.netty.buffer.AbstractByteBuf
- readUnsignedMediumLE() - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 24-bit medium integer at the current
readerIndex
in the Little Endian Byte Order and increases thereaderIndex
by3
in this buffer. - readUnsignedMediumLE() - Method in class io.netty.buffer.EmptyByteBuf
- readUnsignedMediumLE() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readUnsignedShort() - Method in class io.netty.buffer.AbstractByteBuf
- readUnsignedShort() - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 16-bit short integer at the current
readerIndex
and increases thereaderIndex
by2
in this buffer. - readUnsignedShort() - Method in class io.netty.buffer.ByteBufInputStream
- readUnsignedShort() - Method in class io.netty.buffer.EmptyByteBuf
- readUnsignedShort() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readUnsignedShortBE(ByteBuf) - Static method in class io.netty.buffer.ByteBufUtil
-
Reads a big-endian unsigned 16-bit short integer from the buffer.
- readUnsignedShortLE() - Method in class io.netty.buffer.AbstractByteBuf
- readUnsignedShortLE() - Method in class io.netty.buffer.ByteBuf
-
Gets an unsigned 16-bit short integer at the current
readerIndex
in the Little Endian Byte Order and increases thereaderIndex
by2
in this buffer. - readUnsignedShortLE() - Method in class io.netty.buffer.EmptyByteBuf
- readUnsignedShortLE() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- readUTF() - Method in class io.netty.buffer.ByteBufInputStream
- refCnt() - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- refCnt() - Method in class io.netty.buffer.AbstractReferenceCountedByteBuf
- refCnt() - Method in class io.netty.buffer.DefaultByteBufHolder
- refCnt() - Method in class io.netty.buffer.EmptyByteBuf
- refCnt() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- release() - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- release() - Method in class io.netty.buffer.AbstractReferenceCountedByteBuf
- release() - Method in class io.netty.buffer.DefaultByteBufHolder
- release() - Method in class io.netty.buffer.EmptyByteBuf
- release() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- release(int) - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- release(int) - Method in class io.netty.buffer.AbstractReferenceCountedByteBuf
- release(int) - Method in class io.netty.buffer.DefaultByteBufHolder
- release(int) - Method in class io.netty.buffer.EmptyByteBuf
- release(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- removeComponent(int) - Method in class io.netty.buffer.CompositeByteBuf
-
Remove the
ByteBuf
from the given index. - removeComponents(int, int) - Method in class io.netty.buffer.CompositeByteBuf
-
Remove the number of
ByteBuf
s starting from the given index. - replace(ByteBuf) - Method in interface io.netty.buffer.ByteBufHolder
-
Returns a new
ByteBufHolder
which contains the specifiedcontent
. - replace(ByteBuf) - Method in class io.netty.buffer.DefaultByteBufHolder
-
Returns a new
ByteBufHolder
which contains the specifiedcontent
. - reserveAndWriteUtf8(ByteBuf, CharSequence, int) - Static method in class io.netty.buffer.ByteBufUtil
- reserveAndWriteUtf8(ByteBuf, CharSequence, int, int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Equivalent to
but avoids subsequence object allocation if possible.reserveAndWriteUtf8(buf, seq.subSequence(start, end), reserveBytes)
- reset() - Method in class io.netty.buffer.ByteBufInputStream
- reset() - Method in class io.netty.buffer.search.AhoCorasicSearchProcessorFactory.Processor
- reset() - Method in class io.netty.buffer.search.BitapSearchProcessorFactory.Processor
- reset() - Method in class io.netty.buffer.search.KmpSearchProcessorFactory.Processor
- reset() - Method in interface io.netty.buffer.search.SearchProcessor
-
Resets the state of SearchProcessor.
- resetReaderIndex() - Method in class io.netty.buffer.AbstractByteBuf
- resetReaderIndex() - Method in class io.netty.buffer.ByteBuf
-
Repositions the current
readerIndex
to the markedreaderIndex
in this buffer. - resetReaderIndex() - Method in class io.netty.buffer.CompositeByteBuf
- resetReaderIndex() - Method in class io.netty.buffer.EmptyByteBuf
- resetReaderIndex() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- resetRefCnt() - Method in class io.netty.buffer.AbstractReferenceCountedByteBuf
-
An unsafe operation intended for use by a subclass that resets the reference count of the buffer to 1
- resetWriterIndex() - Method in class io.netty.buffer.AbstractByteBuf
- resetWriterIndex() - Method in class io.netty.buffer.ByteBuf
-
Repositions the current
writerIndex
to the markedwriterIndex
in this buffer. - resetWriterIndex() - Method in class io.netty.buffer.CompositeByteBuf
- resetWriterIndex() - Method in class io.netty.buffer.EmptyByteBuf
- resetWriterIndex() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- retain() - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- retain() - Method in class io.netty.buffer.AbstractReferenceCountedByteBuf
- retain() - Method in class io.netty.buffer.ByteBuf
- retain() - Method in interface io.netty.buffer.ByteBufHolder
- retain() - Method in class io.netty.buffer.CompositeByteBuf
- retain() - Method in class io.netty.buffer.DefaultByteBufHolder
- retain() - Method in class io.netty.buffer.EmptyByteBuf
- retain() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- retain(int) - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- retain(int) - Method in class io.netty.buffer.AbstractReferenceCountedByteBuf
- retain(int) - Method in class io.netty.buffer.ByteBuf
- retain(int) - Method in interface io.netty.buffer.ByteBufHolder
- retain(int) - Method in class io.netty.buffer.CompositeByteBuf
- retain(int) - Method in class io.netty.buffer.DefaultByteBufHolder
- retain(int) - Method in class io.netty.buffer.EmptyByteBuf
- retain(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- retainedDuplicate() - Method in class io.netty.buffer.AbstractByteBuf
- retainedDuplicate() - Method in class io.netty.buffer.ByteBuf
-
Returns a retained buffer which shares the whole region of this buffer.
- retainedDuplicate() - Method in interface io.netty.buffer.ByteBufHolder
-
Duplicates this
ByteBufHolder
. - retainedDuplicate() - Method in class io.netty.buffer.DefaultByteBufHolder
-
Duplicates this
ByteBufHolder
. - retainedDuplicate() - Method in class io.netty.buffer.EmptyByteBuf
- retainedDuplicate() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- retainedSlice() - Method in class io.netty.buffer.AbstractByteBuf
- retainedSlice() - Method in class io.netty.buffer.ByteBuf
-
Returns a retained slice of this buffer's readable bytes.
- retainedSlice() - Method in class io.netty.buffer.EmptyByteBuf
- retainedSlice() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- retainedSlice(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- retainedSlice(int, int) - Method in class io.netty.buffer.ByteBuf
-
Returns a retained slice of this buffer's sub-region.
- retainedSlice(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- retainedSlice(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
S
- SearchProcessor - Interface in io.netty.buffer.search
-
Interface for
ByteProcessor
that implements string search. - SearchProcessorFactory - Interface in io.netty.buffer.search
- setBoolean(int, boolean) - Method in class io.netty.buffer.AbstractByteBuf
- setBoolean(int, boolean) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified boolean at the specified absolute
index
in this buffer. - setBoolean(int, boolean) - Method in class io.netty.buffer.CompositeByteBuf
- setBoolean(int, boolean) - Method in class io.netty.buffer.EmptyByteBuf
- setBoolean(int, boolean) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setByte(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- setByte(int, int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified byte at the specified absolute
index
in this buffer. - setByte(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- setByte(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setByte(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setByte(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setByte(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setByte(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setByte(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setByte(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- setByte(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- setBytes(int, byte[]) - Method in class io.netty.buffer.AbstractByteBuf
- setBytes(int, byte[]) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source array's data to this buffer starting at the specified absolute
index
. - setBytes(int, byte[]) - Method in class io.netty.buffer.CompositeByteBuf
- setBytes(int, byte[]) - Method in class io.netty.buffer.EmptyByteBuf
- setBytes(int, byte[]) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setBytes(int, byte[], int, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source array's data to this buffer starting at the specified absolute
index
. - setBytes(int, byte[], int, int) - Method in class io.netty.buffer.CompositeByteBuf
- setBytes(int, byte[], int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setBytes(int, byte[], int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setBytes(int, byte[], int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setBytes(int, byte[], int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setBytes(int, byte[], int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setBytes(int, byte[], int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setBytes(int, byte[], int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- setBytes(int, ByteBuf) - Method in class io.netty.buffer.AbstractByteBuf
- setBytes(int, ByteBuf) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source buffer's data to this buffer starting at the specified absolute
index
until the source buffer becomes unreadable. - setBytes(int, ByteBuf) - Method in class io.netty.buffer.CompositeByteBuf
- setBytes(int, ByteBuf) - Method in class io.netty.buffer.EmptyByteBuf
- setBytes(int, ByteBuf) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setBytes(int, ByteBuf, int) - Method in class io.netty.buffer.AbstractByteBuf
- setBytes(int, ByteBuf, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source buffer's data to this buffer starting at the specified absolute
index
. - setBytes(int, ByteBuf, int) - Method in class io.netty.buffer.CompositeByteBuf
- setBytes(int, ByteBuf, int) - Method in class io.netty.buffer.EmptyByteBuf
- setBytes(int, ByteBuf, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source buffer's data to this buffer starting at the specified absolute
index
. - setBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.CompositeByteBuf
- setBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setBytes(int, ByteBuf, int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- setBytes(int, InputStream, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the content of the specified source stream to this buffer starting at the specified absolute
index
. - setBytes(int, InputStream, int) - Method in class io.netty.buffer.CompositeByteBuf
- setBytes(int, InputStream, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setBytes(int, InputStream, int) - Method in class io.netty.buffer.EmptyByteBuf
- setBytes(int, InputStream, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setBytes(int, InputStream, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setBytes(int, InputStream, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setBytes(int, InputStream, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setBytes(int, InputStream, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- setBytes(int, ByteBuffer) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source buffer's data to this buffer starting at the specified absolute
index
until the source buffer's position reaches its limit. - setBytes(int, ByteBuffer) - Method in class io.netty.buffer.CompositeByteBuf
- setBytes(int, ByteBuffer) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setBytes(int, ByteBuffer) - Method in class io.netty.buffer.EmptyByteBuf
- setBytes(int, ByteBuffer) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setBytes(int, ByteBuffer) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setBytes(int, ByteBuffer) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setBytes(int, ByteBuffer) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setBytes(int, ByteBuffer) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- setBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the content of the specified source channel starting at the given file position to this buffer starting at the specified absolute
index
. - setBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.CompositeByteBuf
- setBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.EmptyByteBuf
- setBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setBytes(int, FileChannel, long, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setBytes(int, ScatteringByteChannel, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the content of the specified source channel to this buffer starting at the specified absolute
index
. - setBytes(int, ScatteringByteChannel, int) - Method in class io.netty.buffer.CompositeByteBuf
- setBytes(int, ScatteringByteChannel, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setBytes(int, ScatteringByteChannel, int) - Method in class io.netty.buffer.EmptyByteBuf
- setBytes(int, ScatteringByteChannel, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setBytes(int, ScatteringByteChannel, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setBytes(int, ScatteringByteChannel, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setBytes(int, ScatteringByteChannel, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setChar(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- setChar(int, int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 2-byte UTF-16 character at the specified absolute
index
in this buffer. - setChar(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- setChar(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setChar(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setCharSequence(int, CharSequence, Charset) - Method in class io.netty.buffer.AbstractByteBuf
- setCharSequence(int, CharSequence, Charset) - Method in class io.netty.buffer.ByteBuf
-
Writes the specified
CharSequence
at the givenindex
. - setCharSequence(int, CharSequence, Charset) - Method in class io.netty.buffer.EmptyByteBuf
- setCharSequence(int, CharSequence, Charset) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setDouble(int, double) - Method in class io.netty.buffer.AbstractByteBuf
- setDouble(int, double) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 64-bit floating-point number at the specified absolute
index
in this buffer. - setDouble(int, double) - Method in class io.netty.buffer.CompositeByteBuf
- setDouble(int, double) - Method in class io.netty.buffer.EmptyByteBuf
- setDouble(int, double) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setDoubleLE(int, double) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 64-bit floating-point number at the specified absolute
index
in this buffer in Little Endian Byte Order. - setFloat(int, float) - Method in class io.netty.buffer.AbstractByteBuf
- setFloat(int, float) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 32-bit floating-point number at the specified absolute
index
in this buffer. - setFloat(int, float) - Method in class io.netty.buffer.CompositeByteBuf
- setFloat(int, float) - Method in class io.netty.buffer.EmptyByteBuf
- setFloat(int, float) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setFloatLE(int, float) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 32-bit floating-point number at the specified absolute
index
in this buffer in Little Endian Byte Order. - setIndex(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- setIndex(int, int) - Method in class io.netty.buffer.ByteBuf
-
Sets the
readerIndex
andwriterIndex
of this buffer in one shot. - setIndex(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- setIndex(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setIndex(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setInt(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- setInt(int, int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 32-bit integer at the specified absolute
index
in this buffer. - setInt(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- setInt(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setInt(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setInt(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setInt(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setInt(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setInt(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setInt(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- setInt(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- setIntLE(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- setIntLE(int, int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 32-bit integer at the specified absolute
index
in this buffer with Little Endian byte order . - setIntLE(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setIntLE(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setIntLE(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setIntLE(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setIntLE(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setIntLE(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- setLeakListener(ResourceLeakDetector.LeakListener) - Static method in class io.netty.buffer.ByteBufUtil
-
Set
AbstractByteBuf.leakDetector
'sResourceLeakDetector.LeakListener
. - setLong(int, long) - Method in class io.netty.buffer.AbstractByteBuf
- setLong(int, long) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 64-bit long integer at the specified absolute
index
in this buffer. - setLong(int, long) - Method in class io.netty.buffer.CompositeByteBuf
- setLong(int, long) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setLong(int, long) - Method in class io.netty.buffer.EmptyByteBuf
- setLong(int, long) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setLong(int, long) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setLong(int, long) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setLong(int, long) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setLong(int, long) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- setLong(int, long) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- setLongLE(int, long) - Method in class io.netty.buffer.AbstractByteBuf
- setLongLE(int, long) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 64-bit long integer at the specified absolute
index
in this buffer in Little Endian Byte Order. - setLongLE(int, long) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setLongLE(int, long) - Method in class io.netty.buffer.EmptyByteBuf
- setLongLE(int, long) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setLongLE(int, long) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setLongLE(int, long) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setLongLE(int, long) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- setMedium(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- setMedium(int, int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 24-bit medium integer at the specified absolute
index
in this buffer. - setMedium(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- setMedium(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setMedium(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setMedium(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setMedium(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setMedium(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setMedium(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setMedium(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- setMedium(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- setMediumLE(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- setMediumLE(int, int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 24-bit medium integer at the specified absolute
index
in this buffer in the Little Endian Byte Order. - setMediumLE(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setMediumLE(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setMediumLE(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setMediumLE(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setMediumLE(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setMediumLE(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- setRefCnt(int) - Method in class io.netty.buffer.AbstractReferenceCountedByteBuf
-
An unsafe operation intended for use by a subclass that sets the reference count of the buffer directly
- setShort(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- setShort(int, int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 16-bit short integer at the specified absolute
index
in this buffer. - setShort(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- setShort(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setShort(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setShort(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setShort(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setShort(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- setShort(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setShort(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- setShort(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- setShortBE(ByteBuf, int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Sets a big-endian 16-bit short integer to the buffer.
- setShortLE(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- setShortLE(int, int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 16-bit short integer at the specified absolute
index
in this buffer with the Little Endian Byte Order. - setShortLE(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- setShortLE(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setShortLE(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- setShortLE(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setShortLE(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- setShortLE(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- setZero(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- setZero(int, int) - Method in class io.netty.buffer.ByteBuf
-
Fills this buffer with NUL (0x00) starting at the specified absolute
index
. - setZero(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- setZero(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- setZero(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- setZero(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- setZero(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- size2SizeIdx(int) - Method in interface io.netty.buffer.SizeClassesMetric
-
Normalizes request size up to the nearest size class.
- SizeClassesMetric - Interface in io.netty.buffer
-
Expose metrics for an SizeClasses.
- sizeIdx2size(int) - Method in interface io.netty.buffer.SizeClassesMetric
-
Computes size from lookup table according to sizeIdx.
- sizeIdx2sizeCompute(int) - Method in interface io.netty.buffer.SizeClassesMetric
-
Computes size according to sizeIdx.
- skip(long) - Method in class io.netty.buffer.ByteBufInputStream
- skipBytes(int) - Method in class io.netty.buffer.AbstractByteBuf
- skipBytes(int) - Method in class io.netty.buffer.ByteBuf
-
Increases the current
readerIndex
by the specifiedlength
in this buffer. - skipBytes(int) - Method in class io.netty.buffer.ByteBufInputStream
- skipBytes(int) - Method in class io.netty.buffer.CompositeByteBuf
- skipBytes(int) - Method in class io.netty.buffer.EmptyByteBuf
- skipBytes(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- slice() - Method in class io.netty.buffer.AbstractByteBuf
- slice() - Method in class io.netty.buffer.ByteBuf
-
Returns a slice of this buffer's readable bytes.
- slice() - Method in class io.netty.buffer.EmptyByteBuf
- slice() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- slice(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- slice(int, int) - Method in class io.netty.buffer.ByteBuf
-
Returns a slice of this buffer's sub-region.
- slice(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- slice(int, int) - Method in class io.netty.buffer.EmptyByteBuf
- slice(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- slice(int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- SlicedByteBuf - Class in io.netty.buffer
-
Deprecated.Do not use.
- SlicedByteBuf(ByteBuf, int, int) - Constructor for class io.netty.buffer.SlicedByteBuf
-
Deprecated.
- smallCacheSize() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.
- smallCacheSize() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
-
Return the size of the small cache.
- smallSubpages() - Method in interface io.netty.buffer.PoolArenaMetric
-
Returns an unmodifiable
List
which holdsPoolSubpageMetric
s for small sub-pages. - swapInt(int) - Static method in class io.netty.buffer.ByteBufUtil
-
Toggles the endianness of the specified 32-bit integer.
- swapLong(long) - Static method in class io.netty.buffer.ByteBufUtil
-
Toggles the endianness of the specified 64-bit long integer.
- swapMedium(int) - Static method in class io.netty.buffer.ByteBufUtil
-
Toggles the endianness of the specified 24-bit medium integer.
- SwappedByteBuf - Class in io.netty.buffer
-
Deprecated.use the Little Endian accessors, e.g.
getShortLE
,getIntLE
instead. - SwappedByteBuf(ByteBuf) - Constructor for class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- swapShort(short) - Static method in class io.netty.buffer.ByteBufUtil
-
Toggles the endianness of the specified 16-bit short integer.
T
- threadLocalDirectBuffer() - Static method in class io.netty.buffer.ByteBufUtil
-
Returns a cached thread-local direct buffer, if available.
- tinyCacheSize() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Deprecated.
- tinyCacheSize() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
-
Deprecated.Tiny caches have been merged into small caches.
- tinySubpages() - Method in interface io.netty.buffer.PoolArenaMetric
-
Deprecated.Tiny sub-pages have been merged into small sub-pages.
- toByteIndex(int) - Method in class io.netty.buffer.CompositeByteBuf
- toComponentIndex(int) - Method in class io.netty.buffer.CompositeByteBuf
-
Return the index for the given offset
- toLeakAwareBuffer(ByteBuf) - Static method in class io.netty.buffer.AbstractByteBufAllocator
- toLeakAwareBuffer(CompositeByteBuf) - Static method in class io.netty.buffer.AbstractByteBufAllocator
- toString() - Method in class io.netty.buffer.AbstractByteBuf
- toString() - Method in class io.netty.buffer.AbstractByteBufAllocator
- toString() - Method in class io.netty.buffer.ByteBuf
-
Returns the string representation of this buffer.
- toString() - Method in class io.netty.buffer.CompositeByteBuf
- toString() - Method in class io.netty.buffer.DefaultByteBufHolder
- toString() - Method in class io.netty.buffer.EmptyByteBuf
- toString() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
- toString() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- toString(int, int, Charset) - Method in class io.netty.buffer.AbstractByteBuf
- toString(int, int, Charset) - Method in class io.netty.buffer.ByteBuf
-
Decodes this buffer's sub-region into a string with the specified character set.
- toString(int, int, Charset) - Method in class io.netty.buffer.EmptyByteBuf
- toString(int, int, Charset) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- toString(Charset) - Method in class io.netty.buffer.AbstractByteBuf
- toString(Charset) - Method in class io.netty.buffer.ByteBuf
-
Decodes this buffer's readable bytes into a string with the specified character set name.
- toString(Charset) - Method in class io.netty.buffer.EmptyByteBuf
- toString(Charset) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- touch() - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- touch() - Method in class io.netty.buffer.AbstractReferenceCountedByteBuf
- touch() - Method in class io.netty.buffer.ByteBuf
- touch() - Method in interface io.netty.buffer.ByteBufHolder
- touch() - Method in class io.netty.buffer.CompositeByteBuf
- touch() - Method in class io.netty.buffer.DefaultByteBufHolder
- touch() - Method in class io.netty.buffer.EmptyByteBuf
- touch() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- touch(Object) - Method in class io.netty.buffer.AbstractDerivedByteBuf
-
Deprecated.
- touch(Object) - Method in class io.netty.buffer.AbstractReferenceCountedByteBuf
- touch(Object) - Method in class io.netty.buffer.ByteBuf
- touch(Object) - Method in interface io.netty.buffer.ByteBufHolder
- touch(Object) - Method in class io.netty.buffer.CompositeByteBuf
- touch(Object) - Method in class io.netty.buffer.DefaultByteBufHolder
- touch(Object) - Method in class io.netty.buffer.EmptyByteBuf
- touch(Object) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- trimCurrentThreadCache() - Method in class io.netty.buffer.PooledByteBufAllocator
-
Trim thread local cache for the current
Thread
, which will give back any cached memory that was not allocated frequently since the last trim operation. - trimIndicesToCapacity(int) - Method in class io.netty.buffer.AbstractByteBuf
U
- unmodifiableBuffer(ByteBuf) - Static method in class io.netty.buffer.Unpooled
-
Deprecated.Use
ByteBuf.asReadOnly()
. - unmodifiableBuffer(ByteBuf...) - Static method in class io.netty.buffer.Unpooled
-
Deprecated.
- Unpooled - Class in io.netty.buffer
-
Creates a new
ByteBuf
by allocating new space or by wrapping or copying existing byte arrays, byte buffers and a string. - UnpooledByteBufAllocator - Class in io.netty.buffer
-
Simplistic
ByteBufAllocator
implementation that does not pool anything. - UnpooledByteBufAllocator(boolean) - Constructor for class io.netty.buffer.UnpooledByteBufAllocator
-
Create a new instance which uses leak-detection for direct buffers.
- UnpooledByteBufAllocator(boolean, boolean) - Constructor for class io.netty.buffer.UnpooledByteBufAllocator
-
Create a new instance
- UnpooledByteBufAllocator(boolean, boolean, boolean) - Constructor for class io.netty.buffer.UnpooledByteBufAllocator
-
Create a new instance
- UnpooledDirectByteBuf - Class in io.netty.buffer
-
A NIO
ByteBuffer
based buffer. - UnpooledDirectByteBuf(ByteBufAllocator, int, int) - Constructor for class io.netty.buffer.UnpooledDirectByteBuf
-
Creates a new direct buffer.
- UnpooledDirectByteBuf(ByteBufAllocator, ByteBuffer, int) - Constructor for class io.netty.buffer.UnpooledDirectByteBuf
-
Creates a new direct buffer by wrapping the specified initial buffer.
- UnpooledHeapByteBuf - Class in io.netty.buffer
-
Big endian Java heap buffer implementation.
- UnpooledHeapByteBuf(ByteBufAllocator, byte[], int) - Constructor for class io.netty.buffer.UnpooledHeapByteBuf
-
Creates a new heap buffer with an existing byte array.
- UnpooledHeapByteBuf(ByteBufAllocator, int, int) - Constructor for class io.netty.buffer.UnpooledHeapByteBuf
-
Creates a new heap buffer with a newly allocated byte array.
- UnpooledUnsafeDirectByteBuf - Class in io.netty.buffer
-
A NIO
ByteBuffer
based buffer. - UnpooledUnsafeDirectByteBuf(ByteBufAllocator, int, int) - Constructor for class io.netty.buffer.UnpooledUnsafeDirectByteBuf
-
Creates a new direct buffer.
- UnpooledUnsafeDirectByteBuf(ByteBufAllocator, ByteBuffer, int) - Constructor for class io.netty.buffer.UnpooledUnsafeDirectByteBuf
-
Creates a new direct buffer by wrapping the specified initial buffer.
- UnpooledUnsafeHeapByteBuf - Class in io.netty.buffer
-
Big endian Java heap buffer implementation.
- UnpooledUnsafeHeapByteBuf(ByteBufAllocator, int, int) - Constructor for class io.netty.buffer.UnpooledUnsafeHeapByteBuf
-
Creates a new heap buffer with a newly allocated byte array.
- unreleasableBuffer(ByteBuf) - Static method in class io.netty.buffer.Unpooled
-
Return a unreleasable view on the given
ByteBuf
which will just ignore release and retain calls. - unwrap() - Method in class io.netty.buffer.ByteBuf
-
Return the underlying buffer instance if this buffer is a wrapper of another buffer.
- unwrap() - Method in class io.netty.buffer.CompositeByteBuf
- unwrap() - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- unwrap() - Method in class io.netty.buffer.EmptyByteBuf
- unwrap() - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- unwrap() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- unwrap() - Method in class io.netty.buffer.UnpooledDirectByteBuf
- unwrap() - Method in class io.netty.buffer.UnpooledHeapByteBuf
- usage() - Method in interface io.netty.buffer.PoolChunkMetric
-
Return the percentage of the current usage of the chunk.
- usedDirectMemory() - Method in class io.netty.buffer.AdaptiveByteBufAllocator
- usedDirectMemory() - Method in interface io.netty.buffer.ByteBufAllocatorMetric
-
Returns the number of bytes of direct memory used by a
ByteBufAllocator
or-1
if unknown. - usedDirectMemory() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
- usedHeapMemory() - Method in class io.netty.buffer.AdaptiveByteBufAllocator
- usedHeapMemory() - Method in interface io.netty.buffer.ByteBufAllocatorMetric
-
Returns the number of bytes of heap memory used by a
ByteBufAllocator
or-1
if unknown. - usedHeapMemory() - Method in class io.netty.buffer.PooledByteBufAllocatorMetric
- utf8Bytes(CharSequence) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns the exact bytes length of UTF8 character sequence.
- utf8Bytes(CharSequence, int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Equivalent to
but avoids subsequence object allocation.utf8Bytes(seq.subSequence(start, end))
- utf8MaxBytes(int) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns max bytes length of UTF8 character sequence of the given length.
- utf8MaxBytes(CharSequence) - Static method in class io.netty.buffer.ByteBufUtil
-
Returns max bytes length of UTF8 character sequence.
W
- wrappedBuffer(byte[]) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian buffer which wraps the specified
array
. - wrappedBuffer(byte[]...) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian composite buffer which wraps the specified arrays without copying them.
- wrappedBuffer(byte[], int, int) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian buffer which wraps the sub-region of the specified
array
. - wrappedBuffer(int, byte[]...) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian composite buffer which wraps the specified arrays without copying them.
- wrappedBuffer(int, ByteBuf...) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian composite buffer which wraps the readable bytes of the specified buffers without copying them.
- wrappedBuffer(int, ByteBuffer...) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian composite buffer which wraps the slices of the specified NIO buffers without copying them.
- wrappedBuffer(long, int, boolean) - Static method in class io.netty.buffer.Unpooled
-
Creates a new buffer which wraps the specified memory address.
- wrappedBuffer(ByteBuf) - Static method in class io.netty.buffer.Unpooled
-
Creates a new buffer which wraps the specified buffer's readable bytes.
- wrappedBuffer(ByteBuf...) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian composite buffer which wraps the readable bytes of the specified buffers without copying them.
- wrappedBuffer(ByteBuffer) - Static method in class io.netty.buffer.Unpooled
-
Creates a new buffer which wraps the specified NIO buffer's current slice.
- wrappedBuffer(ByteBuffer...) - Static method in class io.netty.buffer.Unpooled
-
Creates a new big-endian composite buffer which wraps the slices of the specified NIO buffers without copying them.
- wrappedUnmodifiableBuffer(ByteBuf...) - Static method in class io.netty.buffer.Unpooled
- writableBytes() - Method in class io.netty.buffer.AbstractByteBuf
- writableBytes() - Method in class io.netty.buffer.ByteBuf
-
Returns the number of writable bytes which is equal to
(this.capacity - this.writerIndex)
. - writableBytes() - Method in class io.netty.buffer.EmptyByteBuf
- writableBytes() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- write(byte[]) - Method in class io.netty.buffer.ByteBufOutputStream
- write(byte[], int, int) - Method in class io.netty.buffer.ByteBufOutputStream
- write(int) - Method in class io.netty.buffer.ByteBufOutputStream
- writeAscii(ByteBufAllocator, CharSequence) - Static method in class io.netty.buffer.ByteBufUtil
- writeAscii(ByteBuf, CharSequence) - Static method in class io.netty.buffer.ByteBufUtil
- writeBoolean(boolean) - Method in class io.netty.buffer.AbstractByteBuf
- writeBoolean(boolean) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified boolean at the current
writerIndex
and increases thewriterIndex
by1
in this buffer. - writeBoolean(boolean) - Method in class io.netty.buffer.ByteBufOutputStream
- writeBoolean(boolean) - Method in class io.netty.buffer.CompositeByteBuf
- writeBoolean(boolean) - Method in class io.netty.buffer.EmptyByteBuf
- writeBoolean(boolean) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeByte(int) - Method in class io.netty.buffer.AbstractByteBuf
- writeByte(int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified byte at the current
writerIndex
and increases thewriterIndex
by1
in this buffer. - writeByte(int) - Method in class io.netty.buffer.ByteBufOutputStream
- writeByte(int) - Method in class io.netty.buffer.CompositeByteBuf
- writeByte(int) - Method in class io.netty.buffer.EmptyByteBuf
- writeByte(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeBytes(byte[]) - Method in class io.netty.buffer.AbstractByteBuf
- writeBytes(byte[]) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source array's data to this buffer starting at the current
writerIndex
and increases thewriterIndex
by the number of the transferred bytes (=src.length
). - writeBytes(byte[]) - Method in class io.netty.buffer.CompositeByteBuf
- writeBytes(byte[]) - Method in class io.netty.buffer.EmptyByteBuf
- writeBytes(byte[]) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeBytes(byte[], int, int) - Method in class io.netty.buffer.AbstractByteBuf
- writeBytes(byte[], int, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source array's data to this buffer starting at the current
writerIndex
and increases thewriterIndex
by the number of the transferred bytes (=length
). - writeBytes(byte[], int, int) - Method in class io.netty.buffer.CompositeByteBuf
- writeBytes(byte[], int, int) - Method in class io.netty.buffer.EmptyByteBuf
- writeBytes(byte[], int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeBytes(ByteBuf) - Method in class io.netty.buffer.AbstractByteBuf
- writeBytes(ByteBuf) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source buffer's data to this buffer starting at the current
writerIndex
until the source buffer becomes unreadable, and increases thewriterIndex
by the number of the transferred bytes. - writeBytes(ByteBuf) - Method in class io.netty.buffer.CompositeByteBuf
- writeBytes(ByteBuf) - Method in class io.netty.buffer.EmptyByteBuf
- writeBytes(ByteBuf) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeBytes(ByteBuf, int) - Method in class io.netty.buffer.AbstractByteBuf
- writeBytes(ByteBuf, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source buffer's data to this buffer starting at the current
writerIndex
and increases thewriterIndex
by the number of the transferred bytes (=length
). - writeBytes(ByteBuf, int) - Method in class io.netty.buffer.CompositeByteBuf
- writeBytes(ByteBuf, int) - Method in class io.netty.buffer.EmptyByteBuf
- writeBytes(ByteBuf, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeBytes(ByteBuf, int, int) - Method in class io.netty.buffer.AbstractByteBuf
- writeBytes(ByteBuf, int, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source buffer's data to this buffer starting at the current
writerIndex
and increases thewriterIndex
by the number of the transferred bytes (=length
). - writeBytes(ByteBuf, int, int) - Method in class io.netty.buffer.CompositeByteBuf
- writeBytes(ByteBuf, int, int) - Method in class io.netty.buffer.EmptyByteBuf
- writeBytes(ByteBuf, int, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeBytes(InputStream, int) - Method in class io.netty.buffer.AbstractByteBuf
- writeBytes(InputStream, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the content of the specified stream to this buffer starting at the current
writerIndex
and increases thewriterIndex
by the number of the transferred bytes. - writeBytes(InputStream, int) - Method in class io.netty.buffer.EmptyByteBuf
- writeBytes(InputStream, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeBytes(String) - Method in class io.netty.buffer.ByteBufOutputStream
- writeBytes(ByteBuffer) - Method in class io.netty.buffer.AbstractByteBuf
- writeBytes(ByteBuffer) - Method in class io.netty.buffer.ByteBuf
-
Transfers the specified source buffer's data to this buffer starting at the current
writerIndex
until the source buffer's position reaches its limit, and increases thewriterIndex
by the number of the transferred bytes. - writeBytes(ByteBuffer) - Method in class io.netty.buffer.CompositeByteBuf
- writeBytes(ByteBuffer) - Method in class io.netty.buffer.EmptyByteBuf
- writeBytes(ByteBuffer) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeBytes(FileChannel, long, int) - Method in class io.netty.buffer.AbstractByteBuf
- writeBytes(FileChannel, long, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the content of the specified channel starting at the given file position to this buffer starting at the current
writerIndex
and increases thewriterIndex
by the number of the transferred bytes. - writeBytes(FileChannel, long, int) - Method in class io.netty.buffer.EmptyByteBuf
- writeBytes(FileChannel, long, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeBytes(ScatteringByteChannel, int) - Method in class io.netty.buffer.AbstractByteBuf
- writeBytes(ScatteringByteChannel, int) - Method in class io.netty.buffer.ByteBuf
-
Transfers the content of the specified channel to this buffer starting at the current
writerIndex
and increases thewriterIndex
by the number of the transferred bytes. - writeBytes(ScatteringByteChannel, int) - Method in class io.netty.buffer.EmptyByteBuf
- writeBytes(ScatteringByteChannel, int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeChar(int) - Method in class io.netty.buffer.AbstractByteBuf
- writeChar(int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 2-byte UTF-16 character at the current
writerIndex
and increases thewriterIndex
by2
in this buffer. - writeChar(int) - Method in class io.netty.buffer.ByteBufOutputStream
- writeChar(int) - Method in class io.netty.buffer.CompositeByteBuf
- writeChar(int) - Method in class io.netty.buffer.EmptyByteBuf
- writeChar(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeChars(String) - Method in class io.netty.buffer.ByteBufOutputStream
- writeCharSequence(CharSequence, Charset) - Method in class io.netty.buffer.AbstractByteBuf
- writeCharSequence(CharSequence, Charset) - Method in class io.netty.buffer.ByteBuf
-
Writes the specified
CharSequence
at the currentwriterIndex
and increases thewriterIndex
by the written bytes. - writeCharSequence(CharSequence, Charset) - Method in class io.netty.buffer.EmptyByteBuf
- writeCharSequence(CharSequence, Charset) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeDouble(double) - Method in class io.netty.buffer.AbstractByteBuf
- writeDouble(double) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 64-bit floating point number at the current
writerIndex
and increases thewriterIndex
by8
in this buffer. - writeDouble(double) - Method in class io.netty.buffer.ByteBufOutputStream
- writeDouble(double) - Method in class io.netty.buffer.CompositeByteBuf
- writeDouble(double) - Method in class io.netty.buffer.EmptyByteBuf
- writeDouble(double) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeDoubleLE(double) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 64-bit floating point number at the current
writerIndex
in Little Endian Byte Order and increases thewriterIndex
by8
in this buffer. - writeFloat(float) - Method in class io.netty.buffer.AbstractByteBuf
- writeFloat(float) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 32-bit floating point number at the current
writerIndex
and increases thewriterIndex
by4
in this buffer. - writeFloat(float) - Method in class io.netty.buffer.ByteBufOutputStream
- writeFloat(float) - Method in class io.netty.buffer.CompositeByteBuf
- writeFloat(float) - Method in class io.netty.buffer.EmptyByteBuf
- writeFloat(float) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeFloatLE(float) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 32-bit floating point number at the current
writerIndex
in Little Endian Byte Order and increases thewriterIndex
by4
in this buffer. - writeInt(int) - Method in class io.netty.buffer.AbstractByteBuf
- writeInt(int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 32-bit integer at the current
writerIndex
and increases thewriterIndex
by4
in this buffer. - writeInt(int) - Method in class io.netty.buffer.ByteBufOutputStream
- writeInt(int) - Method in class io.netty.buffer.CompositeByteBuf
- writeInt(int) - Method in class io.netty.buffer.EmptyByteBuf
- writeInt(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeIntLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- writeIntLE(int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 32-bit integer at the current
writerIndex
in the Little Endian Byte Order and increases thewriterIndex
by4
in this buffer. - writeIntLE(int) - Method in class io.netty.buffer.EmptyByteBuf
- writeIntLE(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeLong(long) - Method in class io.netty.buffer.AbstractByteBuf
- writeLong(long) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 64-bit long integer at the current
writerIndex
and increases thewriterIndex
by8
in this buffer. - writeLong(long) - Method in class io.netty.buffer.ByteBufOutputStream
- writeLong(long) - Method in class io.netty.buffer.CompositeByteBuf
- writeLong(long) - Method in class io.netty.buffer.EmptyByteBuf
- writeLong(long) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeLongLE(long) - Method in class io.netty.buffer.AbstractByteBuf
- writeLongLE(long) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 64-bit long integer at the current
writerIndex
in the Little Endian Byte Order and increases thewriterIndex
by8
in this buffer. - writeLongLE(long) - Method in class io.netty.buffer.EmptyByteBuf
- writeLongLE(long) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeMedium(int) - Method in class io.netty.buffer.AbstractByteBuf
- writeMedium(int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 24-bit medium integer at the current
writerIndex
and increases thewriterIndex
by3
in this buffer. - writeMedium(int) - Method in class io.netty.buffer.CompositeByteBuf
- writeMedium(int) - Method in class io.netty.buffer.EmptyByteBuf
- writeMedium(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeMediumBE(ByteBuf, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Writes a big-endian 24-bit medium integer to the buffer.
- writeMediumLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- writeMediumLE(int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 24-bit medium integer at the current
writerIndex
in the Little Endian Byte Order and increases thewriterIndex
by3
in this buffer. - writeMediumLE(int) - Method in class io.netty.buffer.EmptyByteBuf
- writeMediumLE(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writerIndex() - Method in class io.netty.buffer.AbstractByteBuf
- writerIndex() - Method in class io.netty.buffer.ByteBuf
-
Returns the
writerIndex
of this buffer. - writerIndex() - Method in class io.netty.buffer.EmptyByteBuf
- writerIndex() - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writerIndex(int) - Method in class io.netty.buffer.AbstractByteBuf
- writerIndex(int) - Method in class io.netty.buffer.ByteBuf
-
Sets the
writerIndex
of this buffer. - writerIndex(int) - Method in class io.netty.buffer.CompositeByteBuf
- writerIndex(int) - Method in class io.netty.buffer.EmptyByteBuf
- writerIndex(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeShort(int) - Method in class io.netty.buffer.AbstractByteBuf
- writeShort(int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 16-bit short integer at the current
writerIndex
and increases thewriterIndex
by2
in this buffer. - writeShort(int) - Method in class io.netty.buffer.ByteBufOutputStream
- writeShort(int) - Method in class io.netty.buffer.CompositeByteBuf
- writeShort(int) - Method in class io.netty.buffer.EmptyByteBuf
- writeShort(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeShortBE(ByteBuf, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Writes a big-endian 16-bit short integer to the buffer.
- writeShortLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- writeShortLE(int) - Method in class io.netty.buffer.ByteBuf
-
Sets the specified 16-bit short integer in the Little Endian Byte Order at the current
writerIndex
and increases thewriterIndex
by2
in this buffer. - writeShortLE(int) - Method in class io.netty.buffer.EmptyByteBuf
- writeShortLE(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeUTF(String) - Method in class io.netty.buffer.ByteBufOutputStream
- writeUtf8(ByteBufAllocator, CharSequence) - Static method in class io.netty.buffer.ByteBufUtil
- writeUtf8(ByteBuf, CharSequence) - Static method in class io.netty.buffer.ByteBufUtil
- writeUtf8(ByteBuf, CharSequence, int, int) - Static method in class io.netty.buffer.ByteBufUtil
-
Equivalent to
but avoids subsequence object allocation.writeUtf8(buf, seq.subSequence(start, end))
- writeZero(int) - Method in class io.netty.buffer.AbstractByteBuf
- writeZero(int) - Method in class io.netty.buffer.ByteBuf
-
Fills this buffer with NUL (0x00) starting at the current
writerIndex
and increases thewriterIndex
by the specifiedlength
. - writeZero(int) - Method in class io.netty.buffer.CompositeByteBuf
- writeZero(int) - Method in class io.netty.buffer.EmptyByteBuf
- writeZero(int) - Method in class io.netty.buffer.SwappedByteBuf
-
Deprecated.
- writeZero(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- writeZero(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- writtenBytes() - Method in class io.netty.buffer.ByteBufOutputStream
-
Returns the number of written bytes by this stream so far.
_
- _getByte(int) - Method in class io.netty.buffer.AbstractByteBuf
- _getByte(int) - Method in class io.netty.buffer.CompositeByteBuf
- _getByte(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _getByte(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _getByte(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _getByte(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _getByte(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _getByte(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _getInt(int) - Method in class io.netty.buffer.AbstractByteBuf
- _getInt(int) - Method in class io.netty.buffer.CompositeByteBuf
- _getInt(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _getInt(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _getInt(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _getInt(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _getInt(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _getInt(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _getIntLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- _getIntLE(int) - Method in class io.netty.buffer.CompositeByteBuf
- _getIntLE(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _getIntLE(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _getIntLE(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _getIntLE(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _getIntLE(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _getIntLE(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _getLong(int) - Method in class io.netty.buffer.AbstractByteBuf
- _getLong(int) - Method in class io.netty.buffer.CompositeByteBuf
- _getLong(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _getLong(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _getLong(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _getLong(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _getLong(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _getLong(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _getLongLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- _getLongLE(int) - Method in class io.netty.buffer.CompositeByteBuf
- _getLongLE(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _getLongLE(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _getLongLE(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _getLongLE(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _getLongLE(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _getLongLE(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _getShort(int) - Method in class io.netty.buffer.AbstractByteBuf
- _getShort(int) - Method in class io.netty.buffer.CompositeByteBuf
- _getShort(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _getShort(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _getShort(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _getShort(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _getShort(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _getShort(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _getShortLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- _getShortLE(int) - Method in class io.netty.buffer.CompositeByteBuf
- _getShortLE(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _getShortLE(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _getShortLE(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _getShortLE(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _getShortLE(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _getShortLE(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _getUnsignedMedium(int) - Method in class io.netty.buffer.AbstractByteBuf
- _getUnsignedMedium(int) - Method in class io.netty.buffer.CompositeByteBuf
- _getUnsignedMedium(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _getUnsignedMedium(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _getUnsignedMedium(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _getUnsignedMedium(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _getUnsignedMedium(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _getUnsignedMedium(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _getUnsignedMediumLE(int) - Method in class io.netty.buffer.AbstractByteBuf
- _getUnsignedMediumLE(int) - Method in class io.netty.buffer.CompositeByteBuf
- _getUnsignedMediumLE(int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _getUnsignedMediumLE(int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _getUnsignedMediumLE(int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _getUnsignedMediumLE(int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _getUnsignedMediumLE(int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _getUnsignedMediumLE(int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _setByte(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- _setByte(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- _setByte(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _setByte(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _setByte(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _setByte(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _setByte(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _setByte(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _setInt(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- _setInt(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- _setInt(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _setInt(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _setInt(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _setInt(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _setInt(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _setInt(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _setIntLE(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- _setIntLE(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- _setIntLE(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _setIntLE(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _setIntLE(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _setIntLE(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _setIntLE(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _setIntLE(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _setLong(int, long) - Method in class io.netty.buffer.AbstractByteBuf
- _setLong(int, long) - Method in class io.netty.buffer.CompositeByteBuf
- _setLong(int, long) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _setLong(int, long) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _setLong(int, long) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _setLong(int, long) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _setLong(int, long) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _setLong(int, long) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _setLongLE(int, long) - Method in class io.netty.buffer.AbstractByteBuf
- _setLongLE(int, long) - Method in class io.netty.buffer.CompositeByteBuf
- _setLongLE(int, long) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _setLongLE(int, long) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _setLongLE(int, long) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _setLongLE(int, long) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _setLongLE(int, long) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _setLongLE(int, long) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _setMedium(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- _setMedium(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- _setMedium(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _setMedium(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _setMedium(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _setMedium(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _setMedium(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _setMedium(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _setMediumLE(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- _setMediumLE(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- _setMediumLE(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _setMediumLE(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _setMediumLE(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _setMediumLE(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _setMediumLE(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _setMediumLE(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _setShort(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- _setShort(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- _setShort(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _setShort(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _setShort(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _setShort(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _setShort(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _setShort(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
- _setShortLE(int, int) - Method in class io.netty.buffer.AbstractByteBuf
- _setShortLE(int, int) - Method in class io.netty.buffer.CompositeByteBuf
- _setShortLE(int, int) - Method in class io.netty.buffer.DuplicatedByteBuf
-
Deprecated.
- _setShortLE(int, int) - Method in class io.netty.buffer.ReadOnlyByteBuf
-
Deprecated.
- _setShortLE(int, int) - Method in class io.netty.buffer.UnpooledDirectByteBuf
- _setShortLE(int, int) - Method in class io.netty.buffer.UnpooledHeapByteBuf
- _setShortLE(int, int) - Method in class io.netty.buffer.UnpooledUnsafeDirectByteBuf
- _setShortLE(int, int) - Method in class io.netty.buffer.UnpooledUnsafeHeapByteBuf
All Classes All Packages