Package | Description |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.unix |
Unix specific transport.
|
Modifier and Type | Method and Description |
---|---|
CompositeByteBuf |
CompositeByteBuf.addComponent(boolean increaseWriterIndex,
ByteBuf buffer)
|
CompositeByteBuf |
CompositeByteBuf.addComponent(boolean increaseWriterIndex,
int cIndex,
ByteBuf buffer)
Add the given
ByteBuf on the specific index and increase the writerIndex
if increaseWriterIndex is true . |
CompositeByteBuf |
CompositeByteBuf.addComponent(ByteBuf buffer)
Add the given
ByteBuf . |
CompositeByteBuf |
CompositeByteBuf.addComponent(int cIndex,
ByteBuf buffer)
Add the given
ByteBuf on the specific index. |
CompositeByteBuf |
CompositeByteBuf.addComponents(boolean increaseWriterIndex,
ByteBuf... buffers)
|
CompositeByteBuf |
CompositeByteBuf.addComponents(boolean increaseWriterIndex,
Iterable<ByteBuf> buffers)
|
CompositeByteBuf |
CompositeByteBuf.addComponents(ByteBuf... buffers)
Add the given
ByteBuf s. |
CompositeByteBuf |
CompositeByteBuf.addComponents(int cIndex,
ByteBuf... buffers)
Add the given
ByteBuf s on the specific index
Be aware that this method does not increase the writerIndex of the CompositeByteBuf . |
CompositeByteBuf |
CompositeByteBuf.addComponents(int cIndex,
Iterable<ByteBuf> buffers)
Add the given
ByteBuf s on the specific index
Be aware that this method does not increase the writerIndex of the CompositeByteBuf . |
CompositeByteBuf |
CompositeByteBuf.addComponents(Iterable<ByteBuf> buffers)
Add the given
ByteBuf s. |
CompositeByteBuf |
CompositeByteBuf.addFlattenedComponents(boolean increaseWriterIndex,
ByteBuf buffer)
|
CompositeByteBuf |
CompositeByteBuf.capacity(int newCapacity) |
CompositeByteBuf |
CompositeByteBuf.clear() |
static CompositeByteBuf |
Unpooled.compositeBuffer()
Returns a new big-endian composite buffer with no components.
|
CompositeByteBuf |
AbstractByteBufAllocator.compositeBuffer() |
CompositeByteBuf |
ByteBufAllocator.compositeBuffer()
Allocate a
CompositeByteBuf . |
static CompositeByteBuf |
Unpooled.compositeBuffer(int maxNumComponents)
Returns a new big-endian composite buffer with no components.
|
CompositeByteBuf |
AbstractByteBufAllocator.compositeBuffer(int maxNumComponents) |
CompositeByteBuf |
ByteBufAllocator.compositeBuffer(int maxNumComponents)
Allocate a
CompositeByteBuf with the given maximum number of components that can be stored in it. |
CompositeByteBuf |
AbstractByteBufAllocator.compositeDirectBuffer() |
CompositeByteBuf |
ByteBufAllocator.compositeDirectBuffer()
Allocate a direct
CompositeByteBuf . |
CompositeByteBuf |
UnpooledByteBufAllocator.compositeDirectBuffer(int maxNumComponents) |
CompositeByteBuf |
AbstractByteBufAllocator.compositeDirectBuffer(int maxNumComponents) |
CompositeByteBuf |
ByteBufAllocator.compositeDirectBuffer(int maxNumComponents)
Allocate a direct
CompositeByteBuf with the given maximum number of components that can be stored in it. |
CompositeByteBuf |
AbstractByteBufAllocator.compositeHeapBuffer() |
CompositeByteBuf |
ByteBufAllocator.compositeHeapBuffer()
Allocate a heap
CompositeByteBuf . |
CompositeByteBuf |
UnpooledByteBufAllocator.compositeHeapBuffer(int maxNumComponents) |
CompositeByteBuf |
AbstractByteBufAllocator.compositeHeapBuffer(int maxNumComponents) |
CompositeByteBuf |
ByteBufAllocator.compositeHeapBuffer(int maxNumComponents)
Allocate a heap
CompositeByteBuf with the given maximum number of components that can be stored in it. |
CompositeByteBuf |
CompositeByteBuf.consolidate()
Consolidate the composed
ByteBuf s |
CompositeByteBuf |
CompositeByteBuf.consolidate(int cIndex,
int numComponents)
Consolidate the composed
ByteBuf s |
CompositeByteBuf |
CompositeByteBuf.discardReadBytes() |
CompositeByteBuf |
CompositeByteBuf.discardReadComponents()
Discard all
ByteBuf s which are read. |
CompositeByteBuf |
CompositeByteBuf.discardSomeReadBytes() |
CompositeByteBuf |
CompositeByteBuf.ensureWritable(int minWritableBytes) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index,
byte[] dst) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index,
ByteBuf dst) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index,
ByteBuffer dst) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index,
ByteBuf dst,
int length) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index,
OutputStream out,
int length) |
CompositeByteBuf |
CompositeByteBuf.markReaderIndex() |
CompositeByteBuf |
CompositeByteBuf.markWriterIndex() |
CompositeByteBuf |
CompositeByteBuf.readBytes(byte[] dst) |
CompositeByteBuf |
CompositeByteBuf.readBytes(byte[] dst,
int dstIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuffer dst) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst,
int length) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.readBytes(OutputStream out,
int length) |
CompositeByteBuf |
CompositeByteBuf.readerIndex(int readerIndex) |
CompositeByteBuf |
CompositeByteBuf.removeComponent(int cIndex)
Remove the
ByteBuf from the given index. |
CompositeByteBuf |
CompositeByteBuf.removeComponents(int cIndex,
int numComponents)
Remove the number of
ByteBuf s starting from the given index. |
CompositeByteBuf |
CompositeByteBuf.resetReaderIndex() |
CompositeByteBuf |
CompositeByteBuf.resetWriterIndex() |
CompositeByteBuf |
CompositeByteBuf.retain() |
CompositeByteBuf |
CompositeByteBuf.retain(int increment) |
CompositeByteBuf |
CompositeByteBuf.setBoolean(int index,
boolean value) |
CompositeByteBuf |
CompositeByteBuf.setByte(int index,
int value) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index,
byte[] src) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index,
ByteBuf src) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index,
ByteBuffer src) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index,
ByteBuf src,
int length) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.setChar(int index,
int value) |
CompositeByteBuf |
CompositeByteBuf.setDouble(int index,
double value) |
CompositeByteBuf |
CompositeByteBuf.setFloat(int index,
float value) |
CompositeByteBuf |
CompositeByteBuf.setIndex(int readerIndex,
int writerIndex) |
CompositeByteBuf |
CompositeByteBuf.setInt(int index,
int value) |
CompositeByteBuf |
CompositeByteBuf.setLong(int index,
long value) |
CompositeByteBuf |
CompositeByteBuf.setMedium(int index,
int value) |
CompositeByteBuf |
CompositeByteBuf.setShort(int index,
int value) |
CompositeByteBuf |
CompositeByteBuf.setZero(int index,
int length) |
CompositeByteBuf |
CompositeByteBuf.skipBytes(int length) |
protected static CompositeByteBuf |
AbstractByteBufAllocator.toLeakAwareBuffer(CompositeByteBuf buf) |
CompositeByteBuf |
CompositeByteBuf.touch() |
CompositeByteBuf |
CompositeByteBuf.touch(Object hint) |
CompositeByteBuf |
CompositeByteBuf.writeBoolean(boolean value) |
CompositeByteBuf |
CompositeByteBuf.writeByte(int value) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(byte[] src) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(byte[] src,
int srcIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(ByteBuf src) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(ByteBuffer src) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(ByteBuf src,
int length) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.writeChar(int value) |
CompositeByteBuf |
CompositeByteBuf.writeDouble(double value) |
CompositeByteBuf |
CompositeByteBuf.writeFloat(float value) |
CompositeByteBuf |
CompositeByteBuf.writeInt(int value) |
CompositeByteBuf |
CompositeByteBuf.writeLong(long value) |
CompositeByteBuf |
CompositeByteBuf.writeMedium(int value) |
CompositeByteBuf |
CompositeByteBuf.writerIndex(int writerIndex) |
CompositeByteBuf |
CompositeByteBuf.writeShort(int value) |
CompositeByteBuf |
CompositeByteBuf.writeZero(int length) |
Modifier and Type | Method and Description |
---|---|
protected static CompositeByteBuf |
AbstractByteBufAllocator.toLeakAwareBuffer(CompositeByteBuf buf) |
Modifier and Type | Method and Description |
---|---|
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeBuffer() |
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeBuffer(int maxNumComponents) |
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeDirectBuffer() |
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeDirectBuffer(int maxNumComponents) |
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeHeapBuffer() |
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeHeapBuffer(int maxNumComponents) |
Modifier and Type | Method and Description |
---|---|
CompositeByteBuf |
PreferredDirectByteBufAllocator.compositeBuffer() |
CompositeByteBuf |
PreferredDirectByteBufAllocator.compositeBuffer(int maxNumComponents) |
CompositeByteBuf |
PreferredDirectByteBufAllocator.compositeDirectBuffer() |
CompositeByteBuf |
PreferredDirectByteBufAllocator.compositeDirectBuffer(int maxNumComponents) |
CompositeByteBuf |
PreferredDirectByteBufAllocator.compositeHeapBuffer() |
CompositeByteBuf |
PreferredDirectByteBufAllocator.compositeHeapBuffer(int maxNumComponents) |
Copyright © 2008–2024 The Netty Project. All rights reserved.