Package | Description |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
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,
java.lang.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,
java.lang.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(java.lang.Iterable<ByteBuf> buffers)
Add the given
ByteBuf s. |
CompositeByteBuf |
CompositeByteBuf.capacity(int newCapacity) |
CompositeByteBuf |
CompositeByteBuf.clear() |
static CompositeByteBuf |
Unpooled.compositeBuffer()
Returns a new big-endian composite buffer with no components.
|
CompositeByteBuf |
ByteBufAllocator.compositeBuffer()
Allocate a
CompositeByteBuf . |
CompositeByteBuf |
AbstractByteBufAllocator.compositeBuffer() |
static CompositeByteBuf |
Unpooled.compositeBuffer(int maxNumComponents)
Returns a new big-endian composite buffer with no components.
|
CompositeByteBuf |
ByteBufAllocator.compositeBuffer(int maxNumComponents)
Allocate a
CompositeByteBuf with the given maximum number of components that can be stored in it. |
CompositeByteBuf |
AbstractByteBufAllocator.compositeBuffer(int maxNumComponents) |
CompositeByteBuf |
ByteBufAllocator.compositeDirectBuffer()
Allocate a direct
CompositeByteBuf . |
CompositeByteBuf |
AbstractByteBufAllocator.compositeDirectBuffer() |
CompositeByteBuf |
UnpooledByteBufAllocator.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.compositeDirectBuffer(int maxNumComponents) |
CompositeByteBuf |
ByteBufAllocator.compositeHeapBuffer()
Allocate a heap
CompositeByteBuf . |
CompositeByteBuf |
AbstractByteBufAllocator.compositeHeapBuffer() |
CompositeByteBuf |
UnpooledByteBufAllocator.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 |
AbstractByteBufAllocator.compositeHeapBuffer(int maxNumComponents) |
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,
java.nio.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,
java.io.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(java.nio.ByteBuffer dst) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst,
int length) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.readBytes(java.io.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,
java.nio.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.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(java.nio.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) |
Copyright © 2008–2018 The Netty Project. All rights reserved.