Java io.netty.buffer CompositeByteBuf fields, constructors, methods, implement or subclass

Example usage for Java io.netty.buffer CompositeByteBuf fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.buffer CompositeByteBuf.

The text is from its open source code.

Field

Constructor

Method

CompositeByteBufaddComponent(int cIndex, ByteBuf buffer)
Add the given ByteBuf on the specific index.
CompositeByteBufaddComponent(boolean increaseWriterIndex, ByteBuf buffer)
Add the given ByteBuf and increase the writerIndex if increaseWriterIndex is true .
CompositeByteBufaddComponent(ByteBuf buffer)
Add the given ByteBuf .
CompositeByteBufaddComponents(ByteBuf... buffers)
Add the given ByteBuf s.
CompositeByteBufaddComponents(Iterable buffers)
Add the given ByteBuf s.
CompositeByteBufaddComponents(boolean increaseIndex, int cIndex, Iterable buffers)
CompositeByteBufaddComponents(boolean increaseWriterIndex, ByteBuf... buffers)
Add the given ByteBuf s and increase the writerIndex if increaseWriterIndex is true .
CompositeByteBufaddComponents(boolean increaseWriterIndex, Iterable buffers)
Add the given ByteBuf s and increase the writerIndex if increaseWriterIndex is true .
CompositeByteBufaddComponents(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 .

CompositeByteBufaddComponents(int cIndex, Iterable buffers)
Add the given ByteBuf s on the specific index Be aware that this method does not increase the writerIndex of the CompositeByteBuf .
intcapacity()
CompositeByteBufcapacity(int newCapacity)
ByteBufcomponent(int cIndex)
Return the ByteBuf on the specified index
ByteBufcopy(int index, int length)
bytegetByte(int index)
booleanisReadable()
intnumComponents()
Return the current number of ByteBuf 's that are composed in this instance
ByteBuforder(ByteOrder endianness)
intreadableBytes()
bytereadByte()
CompositeByteBufreaderIndex(int readerIndex)
intreaderIndex()
longreadLong()
booleanrelease()
CompositeByteBufsetBytes(int index, ByteBuffer src)
CompositeByteBufsetBytes(int index, ByteBuf src)
CompositeByteBufsetBytes(int index, byte[] src)
ByteBufslice(int index, int length)
StringtoString(Charset charset)
CompositeByteBufwriteByte(int value)
CompositeByteBufwriterIndex(int writerIndex)
intwriterIndex()