ByteBuf |
ByteBuf.asByteBuf() |
A ByteBuf can turn into itself.
|
ByteBuf |
ByteBufConvertible.asByteBuf() |
|
ByteBuf |
AbstractByteBuf.asReadOnly() |
|
abstract ByteBuf |
ByteBuf.asReadOnly() |
Returns a read-only version of this buffer.
|
ByteBuf |
EmptyByteBuf.asReadOnly() |
|
ByteBuf |
ReadOnlyByteBuf.asReadOnly() |
Deprecated.
|
ByteBuf |
SwappedByteBuf.asReadOnly() |
Deprecated.
|
ByteBuf |
AbstractByteBufAllocator.buffer() |
|
ByteBuf |
AbstractByteBufAllocator.buffer(int initialCapacity) |
|
ByteBuf |
AbstractByteBufAllocator.buffer(int initialCapacity,
int maxCapacity) |
|
ByteBuf |
ByteBufAllocator.buffer() |
|
ByteBuf |
ByteBufAllocator.buffer(int initialCapacity) |
Allocate a ByteBuf with the given initial capacity.
|
ByteBuf |
ByteBufAllocator.buffer(int initialCapacity,
int maxCapacity) |
Allocate a ByteBuf with the given initial capacity and the given
maximal capacity.
|
ByteBuf |
ByteBufOutputStream.buffer() |
Returns the buffer where this stream is writing data.
|
static ByteBuf |
Unpooled.buffer() |
Creates a new big-endian Java heap buffer with reasonably small initial capacity, which
expands its capacity boundlessly on demand.
|
static ByteBuf |
Unpooled.buffer(int initialCapacity) |
Creates a new big-endian Java heap buffer with the specified capacity , which
expands its capacity boundlessly on demand.
|
static ByteBuf |
Unpooled.buffer(int initialCapacity,
int maxCapacity) |
Creates a new big-endian Java heap buffer with the specified
initialCapacity , that may grow up to maxCapacity
The new buffer's readerIndex and writerIndex are
0 .
|
abstract ByteBuf |
ByteBuf.capacity(int newCapacity) |
Adjusts the capacity of this buffer.
|
ByteBuf |
DuplicatedByteBuf.capacity(int newCapacity) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.capacity(int newCapacity) |
|
ByteBuf |
ReadOnlyByteBuf.capacity(int newCapacity) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.capacity(int newCapacity) |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.capacity(int newCapacity) |
|
ByteBuf |
UnpooledHeapByteBuf.capacity(int newCapacity) |
|
ByteBuf |
AbstractByteBuf.clear() |
|
abstract ByteBuf |
ByteBuf.clear() |
Sets the readerIndex and writerIndex of this buffer to
0 .
|
ByteBuf |
EmptyByteBuf.clear() |
|
ByteBuf |
SwappedByteBuf.clear() |
Deprecated.
|
ByteBuf |
CompositeByteBuf.component(int cIndex) |
Return the ByteBuf on the specified index
|
ByteBuf |
CompositeByteBuf.componentAtOffset(int offset) |
Return the ByteBuf on the specified index
|
ByteBuf |
ByteBufHolder.content() |
|
ByteBuf |
DefaultByteBufHolder.content() |
|
static ByteBuf |
Unpooled.copiedBuffer(byte[] array) |
Creates a new big-endian buffer whose content is a copy of the
specified array .
|
static ByteBuf |
Unpooled.copiedBuffer(byte[]... arrays) |
Creates a new big-endian buffer whose content is a merged copy of
the specified arrays .
|
static ByteBuf |
Unpooled.copiedBuffer(byte[] array,
int offset,
int length) |
Creates a new big-endian buffer whose content is a copy of the
specified array 's sub-region.
|
static ByteBuf |
Unpooled.copiedBuffer(char[] array,
int offset,
int length,
Charset charset) |
Creates a new big-endian buffer whose content is a subregion of
the specified array encoded in the specified charset .
|
static ByteBuf |
Unpooled.copiedBuffer(char[] array,
Charset charset) |
Creates a new big-endian buffer whose content is the specified
array encoded in the specified charset .
|
static ByteBuf |
Unpooled.copiedBuffer(ByteBuf buffer) |
Creates a new buffer whose content is a copy of the specified
buffer 's readable bytes.
|
static ByteBuf |
Unpooled.copiedBuffer(ByteBuf... buffers) |
Creates a new buffer whose content is a merged copy of the specified
buffers ' readable bytes.
|
static ByteBuf |
Unpooled.copiedBuffer(CharSequence string,
int offset,
int length,
Charset charset) |
Creates a new big-endian buffer whose content is a subregion of
the specified string encoded in the specified charset .
|
static ByteBuf |
Unpooled.copiedBuffer(CharSequence string,
Charset charset) |
Creates a new big-endian buffer whose content is the specified
string encoded in the specified charset .
|
static ByteBuf |
Unpooled.copiedBuffer(ByteBuffer buffer) |
Creates a new buffer whose content is a copy of the specified
buffer 's current slice.
|
static ByteBuf |
Unpooled.copiedBuffer(ByteBuffer... buffers) |
Creates a new buffer whose content is a merged copy of the specified
buffers ' slices.
|
ByteBuf |
AbstractByteBuf.copy() |
|
abstract ByteBuf |
ByteBuf.copy() |
Returns a copy of this buffer's readable bytes.
|
abstract ByteBuf |
ByteBuf.copy(int index,
int length) |
Returns a copy of this buffer's sub-region.
|
ByteBuf |
CompositeByteBuf.copy(int index,
int length) |
|
ByteBuf |
DuplicatedByteBuf.copy(int index,
int length) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.copy() |
|
ByteBuf |
EmptyByteBuf.copy(int index,
int length) |
|
ByteBuf |
ReadOnlyByteBuf.copy(int index,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.copy() |
Deprecated.
|
ByteBuf |
SwappedByteBuf.copy(int index,
int length) |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.copy(int index,
int length) |
|
ByteBuf |
UnpooledHeapByteBuf.copy(int index,
int length) |
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.copy(int index,
int length) |
|
static ByteBuf |
Unpooled.copyBoolean(boolean value) |
Creates a new single-byte big-endian buffer that holds the specified boolean value.
|
static ByteBuf |
Unpooled.copyBoolean(boolean... values) |
Create a new big-endian buffer that holds a sequence of the specified boolean values.
|
static ByteBuf |
Unpooled.copyDouble(double value) |
Creates a new 8-byte big-endian buffer that holds the specified 64-bit floating point number.
|
static ByteBuf |
Unpooled.copyDouble(double... values) |
Create a new big-endian buffer that holds a sequence of the specified 64-bit floating point numbers.
|
static ByteBuf |
Unpooled.copyFloat(float value) |
Creates a new 4-byte big-endian buffer that holds the specified 32-bit floating point number.
|
static ByteBuf |
Unpooled.copyFloat(float... values) |
Create a new big-endian buffer that holds a sequence of the specified 32-bit floating point numbers.
|
static ByteBuf |
Unpooled.copyInt(int value) |
Creates a new 4-byte big-endian buffer that holds the specified 32-bit integer.
|
static ByteBuf |
Unpooled.copyInt(int... values) |
Create a big-endian buffer that holds a sequence of the specified 32-bit integers.
|
static ByteBuf |
Unpooled.copyLong(long value) |
Creates a new 8-byte big-endian buffer that holds the specified 64-bit integer.
|
static ByteBuf |
Unpooled.copyLong(long... values) |
Create a new big-endian buffer that holds a sequence of the specified 64-bit integers.
|
static ByteBuf |
Unpooled.copyMedium(int value) |
Creates a new 3-byte big-endian buffer that holds the specified 24-bit integer.
|
static ByteBuf |
Unpooled.copyMedium(int... values) |
Create a new big-endian buffer that holds a sequence of the specified 24-bit integers.
|
static ByteBuf |
Unpooled.copyShort(int value) |
Creates a new 2-byte big-endian buffer that holds the specified 16-bit integer.
|
static ByteBuf |
Unpooled.copyShort(int... values) |
Create a new big-endian buffer that holds a sequence of the specified 16-bit integers.
|
static ByteBuf |
Unpooled.copyShort(short... values) |
Create a new big-endian buffer that holds a sequence of the specified 16-bit integers.
|
ByteBuf |
AbstractByteBufAllocator.directBuffer() |
|
ByteBuf |
AbstractByteBufAllocator.directBuffer(int initialCapacity) |
|
ByteBuf |
AbstractByteBufAllocator.directBuffer(int initialCapacity,
int maxCapacity) |
|
ByteBuf |
ByteBufAllocator.directBuffer() |
|
ByteBuf |
ByteBufAllocator.directBuffer(int initialCapacity) |
Allocate a direct ByteBuf with the given initial capacity.
|
ByteBuf |
ByteBufAllocator.directBuffer(int initialCapacity,
int maxCapacity) |
Allocate a direct ByteBuf with the given initial capacity and the given
maximal capacity.
|
static ByteBuf |
Unpooled.directBuffer() |
Creates a new big-endian direct buffer with reasonably small initial capacity, which
expands its capacity boundlessly on demand.
|
static ByteBuf |
Unpooled.directBuffer(int initialCapacity) |
Creates a new big-endian direct buffer with the specified capacity , which
expands its capacity boundlessly on demand.
|
static ByteBuf |
Unpooled.directBuffer(int initialCapacity,
int maxCapacity) |
Creates a new big-endian direct buffer with the specified
initialCapacity , that may grow up to maxCapacity .
|
ByteBuf |
AbstractByteBuf.discardReadBytes() |
|
abstract ByteBuf |
ByteBuf.discardReadBytes() |
Discards the bytes between the 0th index and readerIndex .
|
ByteBuf |
EmptyByteBuf.discardReadBytes() |
|
ByteBuf |
ReadOnlyByteBuf.discardReadBytes() |
Deprecated.
|
ByteBuf |
SwappedByteBuf.discardReadBytes() |
Deprecated.
|
ByteBuf |
AbstractByteBuf.discardSomeReadBytes() |
|
abstract ByteBuf |
ByteBuf.discardSomeReadBytes() |
Similar to 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.
|
ByteBuf |
EmptyByteBuf.discardSomeReadBytes() |
|
ByteBuf |
SwappedByteBuf.discardSomeReadBytes() |
Deprecated.
|
ByteBuf |
AbstractByteBuf.duplicate() |
|
abstract ByteBuf |
ByteBuf.duplicate() |
Returns a buffer which shares the whole region of this buffer.
|
ByteBuf |
EmptyByteBuf.duplicate() |
|
ByteBuf |
ReadOnlyByteBuf.duplicate() |
Deprecated.
|
ByteBuf |
SwappedByteBuf.duplicate() |
Deprecated.
|
static ByteBuf |
ByteBufUtil.encodeString(ByteBufAllocator alloc,
CharBuffer src,
Charset charset) |
|
static ByteBuf |
ByteBufUtil.encodeString(ByteBufAllocator alloc,
CharBuffer src,
Charset charset,
int extraCapacity) |
|
static ByteBuf |
ByteBufUtil.ensureAccessible(ByteBuf buffer) |
|
ByteBuf |
AbstractByteBuf.ensureWritable(int minWritableBytes) |
|
abstract ByteBuf |
ByteBuf.ensureWritable(int minWritableBytes) |
Expands the buffer capacity() to make sure the number of
writable bytes is equal to or greater than the
specified value.
|
ByteBuf |
EmptyByteBuf.ensureWritable(int minWritableBytes) |
|
ByteBuf |
ReadOnlyByteBuf.ensureWritable(int minWritableBytes) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.ensureWritable(int writableBytes) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.getBytes(int index,
byte[] dst) |
|
ByteBuf |
AbstractByteBuf.getBytes(int index,
ByteBuf dst) |
|
ByteBuf |
AbstractByteBuf.getBytes(int index,
ByteBuf dst,
int length) |
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
byte[] dst) |
Transfers this buffer's data to the specified destination starting at
the specified absolute index .
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
Transfers this buffer's data to the specified destination starting at
the specified absolute index .
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
ByteBuf dst) |
Transfers this buffer's data to the specified destination starting at
the specified absolute index until the destination becomes
non-writable.
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
ByteBuf dst,
int length) |
Transfers this buffer's data to the specified destination starting at
the specified absolute index .
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
Transfers this buffer's data to the specified destination starting at
the specified absolute index .
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
OutputStream out,
int length) |
Transfers this buffer's data to the specified stream starting at the
specified absolute index .
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
ByteBuffer dst) |
Transfers this buffer's data to the specified destination starting at
the specified absolute index until the destination's position
reaches its limit.
|
ByteBuf |
DuplicatedByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
Deprecated.
|
ByteBuf |
DuplicatedByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
Deprecated.
|
ByteBuf |
DuplicatedByteBuf.getBytes(int index,
OutputStream out,
int length) |
Deprecated.
|
ByteBuf |
DuplicatedByteBuf.getBytes(int index,
ByteBuffer dst) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
byte[] dst) |
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
ByteBuf dst) |
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
ByteBuf dst,
int length) |
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
OutputStream out,
int length) |
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
ByteBuffer dst) |
|
ByteBuf |
ReadOnlyByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
Deprecated.
|
ByteBuf |
ReadOnlyByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
Deprecated.
|
ByteBuf |
ReadOnlyByteBuf.getBytes(int index,
OutputStream out,
int length) |
Deprecated.
|
ByteBuf |
ReadOnlyByteBuf.getBytes(int index,
ByteBuffer dst) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.getBytes(int index,
byte[] dst) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.getBytes(int index,
ByteBuf dst) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.getBytes(int index,
ByteBuf dst,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.getBytes(int index,
OutputStream out,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.getBytes(int index,
ByteBuffer dst) |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
|
ByteBuf |
UnpooledDirectByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
|
ByteBuf |
UnpooledDirectByteBuf.getBytes(int index,
OutputStream out,
int length) |
|
ByteBuf |
UnpooledDirectByteBuf.getBytes(int index,
ByteBuffer dst) |
|
ByteBuf |
UnpooledHeapByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
|
ByteBuf |
UnpooledHeapByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
|
ByteBuf |
UnpooledHeapByteBuf.getBytes(int index,
OutputStream out,
int length) |
|
ByteBuf |
UnpooledHeapByteBuf.getBytes(int index,
ByteBuffer dst) |
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
|
ByteBuf |
AbstractByteBufAllocator.heapBuffer() |
|
ByteBuf |
AbstractByteBufAllocator.heapBuffer(int initialCapacity) |
|
ByteBuf |
AbstractByteBufAllocator.heapBuffer(int initialCapacity,
int maxCapacity) |
|
ByteBuf |
ByteBufAllocator.heapBuffer() |
|
ByteBuf |
ByteBufAllocator.heapBuffer(int initialCapacity) |
Allocate a heap ByteBuf with the given initial capacity.
|
ByteBuf |
ByteBufAllocator.heapBuffer(int initialCapacity,
int maxCapacity) |
Allocate a heap ByteBuf with the given initial capacity and the given
maximal capacity.
|
ByteBuf |
CompositeByteBuf.internalComponent(int cIndex) |
Return the internal ByteBuf on the specified index.
|
ByteBuf |
CompositeByteBuf.internalComponentAtOffset(int offset) |
Return the internal ByteBuf on the specified offset.
|
ByteBuf |
AbstractByteBufAllocator.ioBuffer() |
|
ByteBuf |
AbstractByteBufAllocator.ioBuffer(int initialCapacity) |
|
ByteBuf |
AbstractByteBufAllocator.ioBuffer(int initialCapacity,
int maxCapacity) |
|
ByteBuf |
ByteBufAllocator.ioBuffer() |
Allocate a ByteBuf , preferably a direct buffer which is suitable for I/O.
|
ByteBuf |
ByteBufAllocator.ioBuffer(int initialCapacity) |
Allocate a ByteBuf , preferably a direct buffer which is suitable for I/O.
|
ByteBuf |
ByteBufAllocator.ioBuffer(int initialCapacity,
int maxCapacity) |
Allocate a ByteBuf , preferably a direct buffer which is suitable for I/O.
|
protected abstract ByteBuf |
AbstractByteBufAllocator.newDirectBuffer(int initialCapacity,
int maxCapacity) |
Create a direct ByteBuf with the given initialCapacity and maxCapacity.
|
protected ByteBuf |
PooledByteBufAllocator.newDirectBuffer(int initialCapacity,
int maxCapacity) |
|
protected ByteBuf |
UnpooledByteBufAllocator.newDirectBuffer(int initialCapacity,
int maxCapacity) |
|
protected abstract ByteBuf |
AbstractByteBufAllocator.newHeapBuffer(int initialCapacity,
int maxCapacity) |
Create a heap ByteBuf with the given initialCapacity and maxCapacity.
|
protected ByteBuf |
PooledByteBufAllocator.newHeapBuffer(int initialCapacity,
int maxCapacity) |
|
protected ByteBuf |
UnpooledByteBufAllocator.newHeapBuffer(int initialCapacity,
int maxCapacity) |
|
ByteBuf |
AbstractByteBuf.order(ByteOrder endianness) |
|
abstract ByteBuf |
ByteBuf.order(ByteOrder endianness) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.order(ByteOrder endianness) |
|
ByteBuf |
SwappedByteBuf.order(ByteOrder endianness) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.readBytes(byte[] dst) |
|
ByteBuf |
AbstractByteBuf.readBytes(byte[] dst,
int dstIndex,
int length) |
|
ByteBuf |
AbstractByteBuf.readBytes(int length) |
|
ByteBuf |
AbstractByteBuf.readBytes(ByteBuf dst) |
|
ByteBuf |
AbstractByteBuf.readBytes(ByteBuf dst,
int length) |
|
ByteBuf |
AbstractByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
|
ByteBuf |
AbstractByteBuf.readBytes(OutputStream out,
int length) |
|
ByteBuf |
AbstractByteBuf.readBytes(ByteBuffer dst) |
|
abstract ByteBuf |
ByteBuf.readBytes(byte[] dst) |
Transfers this buffer's data to the specified destination starting at
the current readerIndex and increases the readerIndex
by the number of the transferred bytes (= dst.length ).
|
abstract ByteBuf |
ByteBuf.readBytes(byte[] dst,
int dstIndex,
int length) |
Transfers this buffer's data to the specified destination starting at
the current readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ).
|
abstract ByteBuf |
ByteBuf.readBytes(int length) |
Transfers this buffer's data to a newly created buffer starting at
the current readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ).
|
abstract ByteBuf |
ByteBuf.readBytes(ByteBuf dst) |
Transfers this buffer's data to the specified destination starting at
the current readerIndex until the destination becomes
non-writable, and increases the readerIndex by the number of the
transferred bytes.
|
abstract ByteBuf |
ByteBuf.readBytes(ByteBuf dst,
int length) |
Transfers this buffer's data to the specified destination starting at
the current readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ).
|
abstract ByteBuf |
ByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
Transfers this buffer's data to the specified destination starting at
the current readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ).
|
abstract ByteBuf |
ByteBuf.readBytes(OutputStream out,
int length) |
Transfers this buffer's data to the specified stream starting at the
current readerIndex .
|
abstract ByteBuf |
ByteBuf.readBytes(ByteBuffer dst) |
Transfers this buffer's data to the specified destination starting at
the current readerIndex until the destination's position
reaches its limit, and increases the readerIndex by the
number of the transferred bytes.
|
static ByteBuf |
ByteBufUtil.readBytes(ByteBufAllocator alloc,
ByteBuf buffer,
int length) |
|
ByteBuf |
EmptyByteBuf.readBytes(byte[] dst) |
|
ByteBuf |
EmptyByteBuf.readBytes(byte[] dst,
int dstIndex,
int length) |
|
ByteBuf |
EmptyByteBuf.readBytes(int length) |
|
ByteBuf |
EmptyByteBuf.readBytes(ByteBuf dst) |
|
ByteBuf |
EmptyByteBuf.readBytes(ByteBuf dst,
int length) |
|
ByteBuf |
EmptyByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
|
ByteBuf |
EmptyByteBuf.readBytes(OutputStream out,
int length) |
|
ByteBuf |
EmptyByteBuf.readBytes(ByteBuffer dst) |
|
ByteBuf |
SwappedByteBuf.readBytes(byte[] dst) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.readBytes(byte[] dst,
int dstIndex,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.readBytes(int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.readBytes(ByteBuf dst) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.readBytes(ByteBuf dst,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.readBytes(OutputStream out,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.readBytes(ByteBuffer dst) |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.readBytes(byte[] dst,
int dstIndex,
int length) |
|
ByteBuf |
UnpooledDirectByteBuf.readBytes(OutputStream out,
int length) |
|
ByteBuf |
UnpooledDirectByteBuf.readBytes(ByteBuffer dst) |
|
ByteBuf |
AbstractByteBuf.readerIndex(int readerIndex) |
|
abstract ByteBuf |
ByteBuf.readerIndex(int readerIndex) |
Sets the readerIndex of this buffer.
|
ByteBuf |
EmptyByteBuf.readerIndex(int readerIndex) |
|
ByteBuf |
SwappedByteBuf.readerIndex(int readerIndex) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.readRetainedSlice(int length) |
|
abstract ByteBuf |
ByteBuf.readRetainedSlice(int length) |
Returns a new retained slice of this buffer's sub-region starting at the current
readerIndex and increases the readerIndex by the size
of the new slice (= length ).
|
ByteBuf |
EmptyByteBuf.readRetainedSlice(int length) |
|
ByteBuf |
SwappedByteBuf.readRetainedSlice(int length) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.readSlice(int length) |
|
abstract ByteBuf |
ByteBuf.readSlice(int length) |
Returns a new slice of this buffer's sub-region starting at the current
readerIndex and increases the readerIndex by the size
of the new slice (= length ).
|
ByteBuf |
EmptyByteBuf.readSlice(int length) |
|
ByteBuf |
SwappedByteBuf.readSlice(int length) |
Deprecated.
|
ByteBuf |
AbstractDerivedByteBuf.retain() |
Deprecated.
|
ByteBuf |
AbstractDerivedByteBuf.retain(int increment) |
Deprecated.
|
ByteBuf |
AbstractReferenceCountedByteBuf.retain() |
|
ByteBuf |
AbstractReferenceCountedByteBuf.retain(int increment) |
|
abstract ByteBuf |
ByteBuf.retain() |
|
abstract ByteBuf |
ByteBuf.retain(int increment) |
|
ByteBuf |
EmptyByteBuf.retain() |
|
ByteBuf |
EmptyByteBuf.retain(int increment) |
|
ByteBuf |
SwappedByteBuf.retain() |
Deprecated.
|
ByteBuf |
SwappedByteBuf.retain(int increment) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.retainedDuplicate() |
|
abstract ByteBuf |
ByteBuf.retainedDuplicate() |
Returns a retained buffer which shares the whole region of this buffer.
|
ByteBuf |
EmptyByteBuf.retainedDuplicate() |
|
ByteBuf |
SwappedByteBuf.retainedDuplicate() |
Deprecated.
|
ByteBuf |
AbstractByteBuf.retainedSlice() |
|
ByteBuf |
AbstractByteBuf.retainedSlice(int index,
int length) |
|
abstract ByteBuf |
ByteBuf.retainedSlice() |
Returns a retained slice of this buffer's readable bytes.
|
abstract ByteBuf |
ByteBuf.retainedSlice(int index,
int length) |
Returns a retained slice of this buffer's sub-region.
|
ByteBuf |
EmptyByteBuf.retainedSlice() |
|
ByteBuf |
EmptyByteBuf.retainedSlice(int index,
int length) |
|
ByteBuf |
SwappedByteBuf.retainedSlice() |
Deprecated.
|
ByteBuf |
SwappedByteBuf.retainedSlice(int index,
int length) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.setBoolean(int index,
boolean value) |
|
abstract ByteBuf |
ByteBuf.setBoolean(int index,
boolean value) |
Sets the specified boolean at the specified absolute index in this
buffer.
|
ByteBuf |
EmptyByteBuf.setBoolean(int index,
boolean value) |
|
ByteBuf |
SwappedByteBuf.setBoolean(int index,
boolean value) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.setByte(int index,
int value) |
|
abstract ByteBuf |
ByteBuf.setByte(int index,
int value) |
Sets the specified byte at the specified absolute index in this
buffer.
|
ByteBuf |
DuplicatedByteBuf.setByte(int index,
int value) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.setByte(int index,
int value) |
|
ByteBuf |
ReadOnlyByteBuf.setByte(int index,
int value) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setByte(int index,
int value) |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.setByte(int index,
int value) |
|
ByteBuf |
UnpooledHeapByteBuf.setByte(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.setByte(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setByte(int index,
int value) |
|
ByteBuf |
AbstractByteBuf.setBytes(int index,
byte[] src) |
|
ByteBuf |
AbstractByteBuf.setBytes(int index,
ByteBuf src) |
|
ByteBuf |
AbstractByteBuf.setBytes(int index,
ByteBuf src,
int length) |
|
abstract ByteBuf |
ByteBuf.setBytes(int index,
byte[] src) |
Transfers the specified source array's data to this buffer starting at
the specified absolute index .
|
abstract ByteBuf |
ByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
Transfers the specified source array's data to this buffer starting at
the specified absolute index .
|
abstract ByteBuf |
ByteBuf.setBytes(int index,
ByteBuf src) |
Transfers the specified source buffer's data to this buffer starting at
the specified absolute index until the source buffer becomes
unreadable.
|
abstract ByteBuf |
ByteBuf.setBytes(int index,
ByteBuf src,
int length) |
Transfers the specified source buffer's data to this buffer starting at
the specified absolute index .
|
abstract ByteBuf |
ByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
Transfers the specified source buffer's data to this buffer starting at
the specified absolute index .
|
abstract ByteBuf |
ByteBuf.setBytes(int index,
ByteBuffer src) |
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.
|
ByteBuf |
DuplicatedByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
Deprecated.
|
ByteBuf |
DuplicatedByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
Deprecated.
|
ByteBuf |
DuplicatedByteBuf.setBytes(int index,
ByteBuffer src) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
byte[] src) |
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
ByteBuf src) |
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
ByteBuf src,
int length) |
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
ByteBuffer src) |
|
ByteBuf |
ReadOnlyByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
Deprecated.
|
ByteBuf |
ReadOnlyByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
Deprecated.
|
ByteBuf |
ReadOnlyByteBuf.setBytes(int index,
ByteBuffer src) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setBytes(int index,
byte[] src) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setBytes(int index,
ByteBuf src) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setBytes(int index,
ByteBuf src,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setBytes(int index,
ByteBuffer src) |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
|
ByteBuf |
UnpooledDirectByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
|
ByteBuf |
UnpooledDirectByteBuf.setBytes(int index,
ByteBuffer src) |
|
ByteBuf |
UnpooledHeapByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
|
ByteBuf |
UnpooledHeapByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
|
ByteBuf |
UnpooledHeapByteBuf.setBytes(int index,
ByteBuffer src) |
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.setBytes(int index,
ByteBuffer src) |
|
ByteBuf |
AbstractByteBuf.setChar(int index,
int value) |
|
abstract ByteBuf |
ByteBuf.setChar(int index,
int value) |
Sets the specified 2-byte UTF-16 character at the specified absolute
index in this buffer.
|
ByteBuf |
EmptyByteBuf.setChar(int index,
int value) |
|
ByteBuf |
SwappedByteBuf.setChar(int index,
int value) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.setDouble(int index,
double value) |
|
abstract ByteBuf |
ByteBuf.setDouble(int index,
double value) |
Sets the specified 64-bit floating-point number at the specified
absolute index in this buffer.
|
ByteBuf |
EmptyByteBuf.setDouble(int index,
double value) |
|
ByteBuf |
SwappedByteBuf.setDouble(int index,
double value) |
Deprecated.
|
ByteBuf |
ByteBuf.setDoubleLE(int index,
double value) |
Sets the specified 64-bit floating-point number at the specified
absolute index in this buffer in Little Endian Byte Order.
|
ByteBuf |
AbstractByteBuf.setFloat(int index,
float value) |
|
abstract ByteBuf |
ByteBuf.setFloat(int index,
float value) |
Sets the specified 32-bit floating-point number at the specified
absolute index in this buffer.
|
ByteBuf |
EmptyByteBuf.setFloat(int index,
float value) |
|
ByteBuf |
SwappedByteBuf.setFloat(int index,
float value) |
Deprecated.
|
ByteBuf |
ByteBuf.setFloatLE(int index,
float value) |
Sets the specified 32-bit floating-point number at the specified
absolute index in this buffer in Little Endian Byte Order.
|
ByteBuf |
AbstractByteBuf.setIndex(int readerIndex,
int writerIndex) |
|
abstract ByteBuf |
ByteBuf.setIndex(int readerIndex,
int writerIndex) |
Sets the readerIndex and writerIndex of this buffer
in one shot.
|
ByteBuf |
EmptyByteBuf.setIndex(int readerIndex,
int writerIndex) |
|
ByteBuf |
SwappedByteBuf.setIndex(int readerIndex,
int writerIndex) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.setInt(int index,
int value) |
|
abstract ByteBuf |
ByteBuf.setInt(int index,
int value) |
Sets the specified 32-bit integer at the specified absolute
index in this buffer.
|
ByteBuf |
DuplicatedByteBuf.setInt(int index,
int value) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.setInt(int index,
int value) |
|
ByteBuf |
ReadOnlyByteBuf.setInt(int index,
int value) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setInt(int index,
int value) |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.setInt(int index,
int value) |
|
ByteBuf |
UnpooledHeapByteBuf.setInt(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.setInt(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setInt(int index,
int value) |
|
ByteBuf |
AbstractByteBuf.setIntLE(int index,
int value) |
|
abstract ByteBuf |
ByteBuf.setIntLE(int index,
int value) |
Sets the specified 32-bit integer at the specified absolute
index in this buffer with Little Endian byte order
.
|
ByteBuf |
DuplicatedByteBuf.setIntLE(int index,
int value) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.setIntLE(int index,
int value) |
|
ByteBuf |
ReadOnlyByteBuf.setIntLE(int index,
int value) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setIntLE(int index,
int value) |
Deprecated.
|
ByteBuf |
UnpooledHeapByteBuf.setIntLE(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setIntLE(int index,
int value) |
|
ByteBuf |
AbstractByteBuf.setLong(int index,
long value) |
|
abstract ByteBuf |
ByteBuf.setLong(int index,
long value) |
Sets the specified 64-bit long integer at the specified absolute
index in this buffer.
|
ByteBuf |
DuplicatedByteBuf.setLong(int index,
long value) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.setLong(int index,
long value) |
|
ByteBuf |
ReadOnlyByteBuf.setLong(int index,
long value) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setLong(int index,
long value) |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.setLong(int index,
long value) |
|
ByteBuf |
UnpooledHeapByteBuf.setLong(int index,
long value) |
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.setLong(int index,
long value) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setLong(int index,
long value) |
|
ByteBuf |
AbstractByteBuf.setLongLE(int index,
long value) |
|
abstract ByteBuf |
ByteBuf.setLongLE(int index,
long value) |
Sets the specified 64-bit long integer at the specified absolute
index in this buffer in Little Endian Byte Order.
|
ByteBuf |
DuplicatedByteBuf.setLongLE(int index,
long value) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.setLongLE(int index,
long value) |
|
ByteBuf |
ReadOnlyByteBuf.setLongLE(int index,
long value) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setLongLE(int index,
long value) |
Deprecated.
|
ByteBuf |
UnpooledHeapByteBuf.setLongLE(int index,
long value) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setLongLE(int index,
long value) |
|
ByteBuf |
AbstractByteBuf.setMedium(int index,
int value) |
|
abstract ByteBuf |
ByteBuf.setMedium(int index,
int value) |
Sets the specified 24-bit medium integer at the specified absolute
index in this buffer.
|
ByteBuf |
DuplicatedByteBuf.setMedium(int index,
int value) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.setMedium(int index,
int value) |
|
ByteBuf |
ReadOnlyByteBuf.setMedium(int index,
int value) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setMedium(int index,
int value) |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.setMedium(int index,
int value) |
|
ByteBuf |
UnpooledHeapByteBuf.setMedium(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.setMedium(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setMedium(int index,
int value) |
|
ByteBuf |
AbstractByteBuf.setMediumLE(int index,
int value) |
|
abstract ByteBuf |
ByteBuf.setMediumLE(int index,
int value) |
Sets the specified 24-bit medium integer at the specified absolute
index in this buffer in the Little Endian Byte Order.
|
ByteBuf |
DuplicatedByteBuf.setMediumLE(int index,
int value) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.setMediumLE(int index,
int value) |
|
ByteBuf |
ReadOnlyByteBuf.setMediumLE(int index,
int value) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setMediumLE(int index,
int value) |
Deprecated.
|
ByteBuf |
UnpooledHeapByteBuf.setMediumLE(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setMediumLE(int index,
int value) |
|
ByteBuf |
AbstractByteBuf.setShort(int index,
int value) |
|
abstract ByteBuf |
ByteBuf.setShort(int index,
int value) |
Sets the specified 16-bit short integer at the specified absolute
index in this buffer.
|
ByteBuf |
DuplicatedByteBuf.setShort(int index,
int value) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.setShort(int index,
int value) |
|
ByteBuf |
ReadOnlyByteBuf.setShort(int index,
int value) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setShort(int index,
int value) |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.setShort(int index,
int value) |
|
ByteBuf |
UnpooledHeapByteBuf.setShort(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.setShort(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setShort(int index,
int value) |
|
static ByteBuf |
ByteBufUtil.setShortBE(ByteBuf buf,
int index,
int shortValue) |
Sets a big-endian 16-bit short integer to the buffer.
|
ByteBuf |
AbstractByteBuf.setShortLE(int index,
int value) |
|
abstract ByteBuf |
ByteBuf.setShortLE(int index,
int value) |
Sets the specified 16-bit short integer at the specified absolute
index in this buffer with the Little Endian Byte Order.
|
ByteBuf |
DuplicatedByteBuf.setShortLE(int index,
int value) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.setShortLE(int index,
int value) |
|
ByteBuf |
ReadOnlyByteBuf.setShortLE(int index,
int value) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.setShortLE(int index,
int value) |
Deprecated.
|
ByteBuf |
UnpooledHeapByteBuf.setShortLE(int index,
int value) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setShortLE(int index,
int value) |
|
ByteBuf |
AbstractByteBuf.setZero(int index,
int length) |
|
abstract ByteBuf |
ByteBuf.setZero(int index,
int length) |
Fills this buffer with NUL (0x00) starting at the specified
absolute index .
|
ByteBuf |
EmptyByteBuf.setZero(int index,
int length) |
|
ByteBuf |
SwappedByteBuf.setZero(int index,
int length) |
Deprecated.
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.setZero(int index,
int length) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setZero(int index,
int length) |
|
ByteBuf |
AbstractByteBuf.skipBytes(int length) |
|
abstract ByteBuf |
ByteBuf.skipBytes(int length) |
Increases the current readerIndex by the specified
length in this buffer.
|
ByteBuf |
EmptyByteBuf.skipBytes(int length) |
|
ByteBuf |
SwappedByteBuf.skipBytes(int length) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.slice() |
|
ByteBuf |
AbstractByteBuf.slice(int index,
int length) |
|
abstract ByteBuf |
ByteBuf.slice() |
Returns a slice of this buffer's readable bytes.
|
abstract ByteBuf |
ByteBuf.slice(int index,
int length) |
Returns a slice of this buffer's sub-region.
|
ByteBuf |
DuplicatedByteBuf.slice(int index,
int length) |
Deprecated.
|
ByteBuf |
EmptyByteBuf.slice() |
|
ByteBuf |
EmptyByteBuf.slice(int index,
int length) |
|
ByteBuf |
ReadOnlyByteBuf.slice(int index,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.slice() |
Deprecated.
|
ByteBuf |
SwappedByteBuf.slice(int index,
int length) |
Deprecated.
|
static ByteBuf |
ByteBufUtil.threadLocalDirectBuffer() |
Returns a cached thread-local direct buffer, if available.
|
protected static ByteBuf |
AbstractByteBufAllocator.toLeakAwareBuffer(ByteBuf buf) |
|
ByteBuf |
AbstractDerivedByteBuf.touch() |
Deprecated.
|
ByteBuf |
AbstractDerivedByteBuf.touch(Object hint) |
Deprecated.
|
ByteBuf |
AbstractReferenceCountedByteBuf.touch() |
|
ByteBuf |
AbstractReferenceCountedByteBuf.touch(Object hint) |
|
abstract ByteBuf |
ByteBuf.touch() |
|
abstract ByteBuf |
ByteBuf.touch(Object hint) |
|
ByteBuf |
EmptyByteBuf.touch() |
|
ByteBuf |
EmptyByteBuf.touch(Object hint) |
|
ByteBuf |
SwappedByteBuf.touch() |
Deprecated.
|
ByteBuf |
SwappedByteBuf.touch(Object hint) |
Deprecated.
|
static ByteBuf |
Unpooled.unmodifiableBuffer(ByteBuf buffer) |
Deprecated.
|
static ByteBuf |
Unpooled.unmodifiableBuffer(ByteBuf... buffers) |
Deprecated.
|
static ByteBuf |
Unpooled.unreleasableBuffer(ByteBuf buf) |
Return a unreleasable view on the given ByteBuf which will just ignore release and retain calls.
|
abstract ByteBuf |
ByteBuf.unwrap() |
Return the underlying buffer instance if this buffer is a wrapper of another buffer.
|
ByteBuf |
CompositeByteBuf.unwrap() |
|
ByteBuf |
DuplicatedByteBuf.unwrap() |
Deprecated.
|
ByteBuf |
EmptyByteBuf.unwrap() |
|
ByteBuf |
ReadOnlyByteBuf.unwrap() |
Deprecated.
|
ByteBuf |
SwappedByteBuf.unwrap() |
Deprecated.
|
ByteBuf |
UnpooledDirectByteBuf.unwrap() |
|
ByteBuf |
UnpooledHeapByteBuf.unwrap() |
|
static ByteBuf |
Unpooled.wrappedBuffer(byte[] array) |
Creates a new big-endian buffer which wraps the specified array .
|
static ByteBuf |
Unpooled.wrappedBuffer(byte[]... arrays) |
Creates a new big-endian composite buffer which wraps the specified
arrays without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(byte[] array,
int offset,
int length) |
Creates a new big-endian buffer which wraps the sub-region of the
specified array .
|
static ByteBuf |
Unpooled.wrappedBuffer(int maxNumComponents,
byte[]... arrays) |
Creates a new big-endian composite buffer which wraps the specified
arrays without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(int maxNumComponents,
ByteBuf... buffers) |
Creates a new big-endian composite buffer which wraps the readable bytes of the
specified buffers without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(int maxNumComponents,
ByteBuffer... buffers) |
Creates a new big-endian composite buffer which wraps the slices of the specified
NIO buffers without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(long memoryAddress,
int size,
boolean doFree) |
Creates a new buffer which wraps the specified memory address.
|
static ByteBuf |
Unpooled.wrappedBuffer(ByteBuf buffer) |
Creates a new buffer which wraps the specified buffer's readable bytes.
|
static ByteBuf |
Unpooled.wrappedBuffer(ByteBuf... buffers) |
Creates a new big-endian composite buffer which wraps the readable bytes of the
specified buffers without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(ByteBuffer buffer) |
Creates a new buffer which wraps the specified NIO buffer's current
slice.
|
static ByteBuf |
Unpooled.wrappedBuffer(ByteBuffer... buffers) |
Creates a new big-endian composite buffer which wraps the slices of the specified
NIO buffers without copying them.
|
static ByteBuf |
Unpooled.wrappedUnmodifiableBuffer(ByteBuf... buffers) |
|
static ByteBuf |
ByteBufUtil.writeAscii(ByteBufAllocator alloc,
CharSequence seq) |
|
ByteBuf |
AbstractByteBuf.writeBoolean(boolean value) |
|
abstract ByteBuf |
ByteBuf.writeBoolean(boolean value) |
Sets the specified boolean at the current writerIndex
and increases the writerIndex by 1 in this buffer.
|
ByteBuf |
EmptyByteBuf.writeBoolean(boolean value) |
|
ByteBuf |
SwappedByteBuf.writeBoolean(boolean value) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.writeByte(int value) |
|
abstract ByteBuf |
ByteBuf.writeByte(int value) |
Sets the specified byte at the current writerIndex
and increases the writerIndex by 1 in this buffer.
|
ByteBuf |
EmptyByteBuf.writeByte(int value) |
|
ByteBuf |
SwappedByteBuf.writeByte(int value) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.writeBytes(byte[] src) |
|
ByteBuf |
AbstractByteBuf.writeBytes(byte[] src,
int srcIndex,
int length) |
|
ByteBuf |
AbstractByteBuf.writeBytes(ByteBuf src) |
|
ByteBuf |
AbstractByteBuf.writeBytes(ByteBuf src,
int length) |
|
ByteBuf |
AbstractByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length) |
|
ByteBuf |
AbstractByteBuf.writeBytes(ByteBuffer src) |
|
abstract ByteBuf |
ByteBuf.writeBytes(byte[] src) |
Transfers the specified source array's data to this buffer starting at
the current writerIndex and increases the writerIndex
by the number of the transferred bytes (= src.length ).
|
abstract ByteBuf |
ByteBuf.writeBytes(byte[] src,
int srcIndex,
int length) |
Transfers the specified source array's data to this buffer starting at
the current writerIndex and increases the writerIndex
by the number of the transferred bytes (= length ).
|
abstract ByteBuf |
ByteBuf.writeBytes(ByteBuf src) |
Transfers the specified source buffer's data to this buffer starting at
the current writerIndex until the source buffer becomes
unreadable, and increases the writerIndex by the number of
the transferred bytes.
|
abstract ByteBuf |
ByteBuf.writeBytes(ByteBuf src,
int length) |
Transfers the specified source buffer's data to this buffer starting at
the current writerIndex and increases the writerIndex
by the number of the transferred bytes (= length ).
|
abstract ByteBuf |
ByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length) |
Transfers the specified source buffer's data to this buffer starting at
the current writerIndex and increases the writerIndex
by the number of the transferred bytes (= length ).
|
abstract ByteBuf |
ByteBuf.writeBytes(ByteBuffer src) |
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 the writerIndex by the
number of the transferred bytes.
|
ByteBuf |
EmptyByteBuf.writeBytes(byte[] src) |
|
ByteBuf |
EmptyByteBuf.writeBytes(byte[] src,
int srcIndex,
int length) |
|
ByteBuf |
EmptyByteBuf.writeBytes(ByteBuf src) |
|
ByteBuf |
EmptyByteBuf.writeBytes(ByteBuf src,
int length) |
|
ByteBuf |
EmptyByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length) |
|
ByteBuf |
EmptyByteBuf.writeBytes(ByteBuffer src) |
|
ByteBuf |
SwappedByteBuf.writeBytes(byte[] src) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.writeBytes(byte[] src,
int srcIndex,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.writeBytes(ByteBuf src) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.writeBytes(ByteBuf src,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length) |
Deprecated.
|
ByteBuf |
SwappedByteBuf.writeBytes(ByteBuffer src) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.writeChar(int value) |
|
abstract ByteBuf |
ByteBuf.writeChar(int value) |
Sets the specified 2-byte UTF-16 character at the current
writerIndex and increases the writerIndex by 2
in this buffer.
|
ByteBuf |
EmptyByteBuf.writeChar(int value) |
|
ByteBuf |
SwappedByteBuf.writeChar(int value) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.writeDouble(double value) |
|
abstract ByteBuf |
ByteBuf.writeDouble(double value) |
Sets the specified 64-bit floating point number at the current
writerIndex and increases the writerIndex by 8
in this buffer.
|
ByteBuf |
EmptyByteBuf.writeDouble(double value) |
|
ByteBuf |
SwappedByteBuf.writeDouble(double value) |
Deprecated.
|
ByteBuf |
ByteBuf.writeDoubleLE(double value) |
Sets the specified 64-bit floating point number at the current
writerIndex in Little Endian Byte Order and increases
the writerIndex by 8 in this buffer.
|
ByteBuf |
AbstractByteBuf.writeFloat(float value) |
|
abstract ByteBuf |
ByteBuf.writeFloat(float value) |
Sets the specified 32-bit floating point number at the current
writerIndex and increases the writerIndex by 4
in this buffer.
|
ByteBuf |
EmptyByteBuf.writeFloat(float value) |
|
ByteBuf |
SwappedByteBuf.writeFloat(float value) |
Deprecated.
|
ByteBuf |
ByteBuf.writeFloatLE(float value) |
Sets the specified 32-bit floating point number at the current
writerIndex in Little Endian Byte Order and increases
the writerIndex by 4 in this buffer.
|
ByteBuf |
AbstractByteBuf.writeInt(int value) |
|
abstract ByteBuf |
ByteBuf.writeInt(int value) |
Sets the specified 32-bit integer at the current writerIndex
and increases the writerIndex by 4 in this buffer.
|
ByteBuf |
EmptyByteBuf.writeInt(int value) |
|
ByteBuf |
SwappedByteBuf.writeInt(int value) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.writeIntLE(int value) |
|
abstract ByteBuf |
ByteBuf.writeIntLE(int value) |
Sets the specified 32-bit integer at the current writerIndex
in the Little Endian Byte Order and increases the writerIndex
by 4 in this buffer.
|
ByteBuf |
EmptyByteBuf.writeIntLE(int value) |
|
ByteBuf |
SwappedByteBuf.writeIntLE(int value) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.writeLong(long value) |
|
abstract ByteBuf |
ByteBuf.writeLong(long value) |
Sets the specified 64-bit long integer at the current
writerIndex and increases the writerIndex by 8
in this buffer.
|
ByteBuf |
EmptyByteBuf.writeLong(long value) |
|
ByteBuf |
SwappedByteBuf.writeLong(long value) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.writeLongLE(long value) |
|
abstract ByteBuf |
ByteBuf.writeLongLE(long value) |
Sets the specified 64-bit long integer at the current
writerIndex in the Little Endian Byte Order and
increases the writerIndex by 8
in this buffer.
|
ByteBuf |
EmptyByteBuf.writeLongLE(long value) |
|
ByteBuf |
SwappedByteBuf.writeLongLE(long value) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.writeMedium(int value) |
|
abstract ByteBuf |
ByteBuf.writeMedium(int value) |
Sets the specified 24-bit medium integer at the current
writerIndex and increases the writerIndex by 3
in this buffer.
|
ByteBuf |
EmptyByteBuf.writeMedium(int value) |
|
ByteBuf |
SwappedByteBuf.writeMedium(int value) |
Deprecated.
|
static ByteBuf |
ByteBufUtil.writeMediumBE(ByteBuf buf,
int mediumValue) |
Writes a big-endian 24-bit medium integer to the buffer.
|
ByteBuf |
AbstractByteBuf.writeMediumLE(int value) |
|
abstract ByteBuf |
ByteBuf.writeMediumLE(int value) |
Sets the specified 24-bit medium integer at the current
writerIndex in the Little Endian Byte Order and
increases the writerIndex by 3 in this
buffer.
|
ByteBuf |
EmptyByteBuf.writeMediumLE(int value) |
|
ByteBuf |
SwappedByteBuf.writeMediumLE(int value) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.writerIndex(int writerIndex) |
|
abstract ByteBuf |
ByteBuf.writerIndex(int writerIndex) |
Sets the writerIndex of this buffer.
|
ByteBuf |
EmptyByteBuf.writerIndex(int writerIndex) |
|
ByteBuf |
SwappedByteBuf.writerIndex(int writerIndex) |
Deprecated.
|
ByteBuf |
AbstractByteBuf.writeShort(int value) |
|
abstract ByteBuf |
ByteBuf.writeShort(int value) |
Sets the specified 16-bit short integer at the current
writerIndex and increases the writerIndex by 2
in this buffer.
|
ByteBuf |
EmptyByteBuf.writeShort(int value) |
|
ByteBuf |
SwappedByteBuf.writeShort(int value) |
Deprecated.
|
static ByteBuf |
ByteBufUtil.writeShortBE(ByteBuf buf,
int shortValue) |
Writes a big-endian 16-bit short integer to the buffer.
|
ByteBuf |
AbstractByteBuf.writeShortLE(int value) |
|
abstract ByteBuf |
ByteBuf.writeShortLE(int value) |
Sets the specified 16-bit short integer in the Little Endian Byte
Order at the current writerIndex and increases the
writerIndex by 2 in this buffer.
|
ByteBuf |
EmptyByteBuf.writeShortLE(int value) |
|
ByteBuf |
SwappedByteBuf.writeShortLE(int value) |
Deprecated.
|
static ByteBuf |
ByteBufUtil.writeUtf8(ByteBufAllocator alloc,
CharSequence seq) |
|
ByteBuf |
AbstractByteBuf.writeZero(int length) |
|
abstract ByteBuf |
ByteBuf.writeZero(int length) |
Fills this buffer with NUL (0x00) starting at the current
writerIndex and increases the writerIndex by the
specified length .
|
ByteBuf |
EmptyByteBuf.writeZero(int length) |
|
ByteBuf |
SwappedByteBuf.writeZero(int length) |
Deprecated.
|
ByteBuf |
UnpooledUnsafeDirectByteBuf.writeZero(int length) |
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.writeZero(int length) |
|