| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CompositeByteBuf | addComponent(ByteBuf buffer)
Overrides io. ByteBuf.
|
| public CompositeByteBuf | addComponent(int
the index on which the cIndex, ByteBuf buffer)ByteBuf will be added.Overrides io. ByteBuf on the specific index.
|
| public CompositeByteBuf | addComponent(boolean increaseWriterIndex, ByteBuf buffer)
Overrides io. ByteBuf and increase the writerIndex if increaseWriterIndex is
true.
|
| public CompositeByteBuf | addComponent(boolean increaseWriterIndex, int
the index on which the cIndex, ByteBuf buffer)ByteBuf will be added.Overrides io. ByteBuf on the specific index and increase the writerIndex
if increaseWriterIndex is true.
|
| public CompositeByteBuf | addComponents(ByteBuf...
the buffers)ByteBufs to add. ByteBuf#release() ownership of all ByteBuf#release()
ownership of all ByteBuf objects is transferred to this CompositeByteBuf.Overrides io. ByteBufs.
|
| public CompositeByteBuf | addComponents(Iterable<ByteBuf>
the buffers)ByteBufs to add. ByteBuf#release() ownership of all ByteBuf#release()
ownership of all ByteBuf objects is transferred to this CompositeByteBuf.Overrides io. ByteBufs.
|
| public CompositeByteBuf | addComponents(int
the index on which the cIndex, ByteBuf... ByteBuf will be added. ByteBuf#release() ownership of all
ByteBuf#release() ownership of all ByteBuf objects is transferred to this
CompositeByteBuf.the buffers)ByteBufs to add. ByteBuf#release() ownership of all ByteBuf#release()
ownership of all ByteBuf objects is transferred to this CompositeByteBuf.Overrides io. ByteBufs on the specific index
Be aware that this method does not increase the |
| public CompositeByteBuf | addComponents(int
the index on which the cIndex, Iterable<ByteBuf> ByteBuf will be added.the buffers)ByteBufs to add. ByteBuf#release() ownership of all
ByteBuf#release() ownership of all ByteBuf objects is transferred to this
CompositeByteBuf.Overrides io. ByteBufs on the specific index
Be aware that this method does not increase the writerIndex of the CompositeByteBuf.
|
| public CompositeByteBuf | addComponents(boolean increaseWriterIndex, ByteBuf...
the buffers)ByteBufs to add. ByteBuf#release() ownership of all ByteBuf#release()
ownership of all ByteBuf objects is transferred to this CompositeByteBuf.Overrides io. ByteBufs and increase the writerIndex if increaseWriterIndex is
true.
|
| public CompositeByteBuf | addComponents(boolean increaseWriterIndex, Iterable<ByteBuf>
the buffers)ByteBufs to add. ByteBuf#release() ownership of all ByteBuf#release()
ownership of all ByteBuf objects is transferred to this CompositeByteBuf.Overrides io. ByteBufs and increase the writerIndex if increaseWriterIndex is
true.
|
| public CompositeByteBuf | addFlattenedComponents(boolean increaseWriterIndex, ByteBuf buffer)
Overrides io. ByteBuf and increase the writerIndex if increaseWriterIndex is
true.
|
| public ByteBuf | asReadOnly()
Overrides io. |
| public int | bytesBefore(byte value)
Overrides io. value in this
buffer.
|
| public int | bytesBefore(int length, byte value)
Overrides io. value in this
buffer.
|
| public int | bytesBefore(int index, int length, byte value)
Overrides io. value in this
buffer.
|
| public CompositeByteBuf | capacity(int newCapacity)
Adjusts the capacity of this buffer.
|
| public CompositeByteBuf | consolidate()
Overrides io. ByteBufs
|
| public CompositeByteBuf | consolidate(int
the index on which to start to compose cIndex, int the number of components to compose numComponents)Overrides io. ByteBufs
|
| public ByteBuf | copy()
Overrides io. |
| public ByteBuf | copy(int index, int length)
Overrides io. |
| public List | decompose(int offset, int length)
Overrides io. slice(int, int) except that this method returns a list.
|
| public CompositeByteBuf | discardReadBytes()
Overrides io. readerIndex.
|
| public CompositeByteBuf | discardReadComponents()
Overrides io. ByteBufs which are read.
|
| public CompositeByteBuf | discardSomeReadBytes()
Overrides io. 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.
|
| public ByteBuf | duplicate()
Overrides io. |
| public CompositeByteBuf | ensureWritable(int
the expected minimum number of writable bytes minWritableBytes)Overrides io. capacity() to make sure the number of
writable bytes is equal to or greater than the
specified value.
|
| public int | ensureWritable(int
the expected minimum number of writable bytes minWritableBytes, boolean When force)writerIndex() + minWritableBytes > maxCapacity():
Overrides io. capacity() to make sure the number of
writable bytes is equal to or greater than the
specified value.
|
| public int | forEachByte(ByteProcessor processor)
Overrides io. processor in ascending order.
|
| public int | forEachByte(int index, int length, ByteProcessor processor)
Overrides io. processor in ascending order.
|
| public int | forEachByteDesc(ByteProcessor processor)
Overrides io. processor in descending order.
|
| public int | forEachByteDesc(int index, int length, ByteProcessor processor)
Overrides io. processor in descending order.
|
| public boolean | getBoolean(int index)
Overrides io. |
| public byte | getByte(int index)
Overrides io. index in this buffer.
|
| public CompositeByteBuf | getBytes(int index, ByteBuf dst)
Overrides io. index until the destination becomes
non-writable.
|
| public CompositeByteBuf | getBytes(int index, ByteBuf dst, int
the number of bytes to transfer length)Overrides io. index.
|
| public CompositeByteBuf | getBytes(int index, ByteBuf dst, int
the first index of the destination dstIndex, int the number of bytes to transfer length)Overrides io. index.
|
| public CompositeByteBuf | getBytes(int index, byte[] dst)
Overrides io. index.
|
| public CompositeByteBuf | getBytes(int index, byte[] dst, int
the first index of the destination dstIndex, int the number of bytes to transfer length)Overrides io. index.
|
| public CompositeByteBuf | getBytes(int index, ByteBuffer dst)
Overrides io. index until the destination's position
reaches its limit.
|
| public CompositeByteBuf | getBytes(int index, OutputStream out, int
the number of bytes to transfer length)Overrides io. index.
|
| public int | getBytes(int index, GatheringByteChannel out, int
the maximum number of bytes to transfer length)Overrides io. index.
|
| public int | getBytes(int index, FileChannel out, long
the file position at which the transfer is to begin position, int the maximum number of bytes to transfer length)Overrides io. index
to the specified channel starting at the given file position.
|
| public char | getChar(int index)
Overrides io. index in this buffer.
|
| public CharSequence | getCharSequence(int index, int
the length to read length, Charset that should be used charset)Overrides io. CharSequence with the given length at the given index.
|
| public double | getDouble(int index)
Overrides io. index in this buffer.
|
| public float | getFloat(int index)
Overrides io. index in this buffer.
|
| public int | getInt(int index)
Overrides io. index in
this buffer.
|
| public int | getIntLE(int index)
Overrides io. index in
this buffer with Little Endian Byte Order.
|
| public long | getLong(int index)
Overrides io. index in
this buffer.
|
| public long | getLongLE(int index)
Overrides io. index in
this buffer in Little Endian Byte Order.
|
| public int | getMedium(int index)
Overrides io. index in
this buffer.
|
| public int | getMediumLE(int index)
Overrides io. index in
this buffer in the Little Endian Byte Order.
|
| public short | getShort(int index)
Overrides io. index in
this buffer.
|
| public short | getShortLE(int index)
Overrides io. index in
this buffer in Little Endian Byte Order.
|
| public short | getUnsignedByte(int index)
Overrides io. index in this
buffer.
|
| public long | getUnsignedInt(int index)
Overrides io. index
in this buffer.
|
| public long | getUnsignedIntLE(int index)
Overrides io. index
in this buffer in Little Endian Byte Order.
|
| public int | getUnsignedMedium(int index)
Overrides io. index in this buffer.
|
| public int | getUnsignedMediumLE(int index)
Overrides io. index in this buffer in Little Endian Byte Order.
|
| public int | getUnsignedShort(int index)
Overrides io. index in this buffer.
|
| public int | getUnsignedShortLE(int index)
Overrides io. index in this buffer in Little Endian Byte Order.
|
| public int | indexOf(int fromIndex, int toIndex, byte value)
Overrides io. value in this
buffer.
|
| public ByteBuffer | internalNioBuffer(int index, int length)
Overrides io. |
| public boolean | isReadOnly()
Overrides io. true if and only if this buffer is read-only.
|
| public Iterator | iterator()
Overrides io. Implements java. T.
|
| protected AdvancedLeakAwareByteBuf | newLeakAwareByteBuf(ByteBuf wrapped, ByteBuf trackedByteBuf, ResourceLeakTracker<ByteBuf> leakTracker)
Overrides io. |
| public ByteBuffer | nioBuffer()
Overrides io. ByteBuffer.
|
| public ByteBuffer | nioBuffer(int index, int length)
Overrides io. ByteBuffer.
|
| public int | nioBufferCount()
Overrides io. ByteBuffers that consist this buffer.
|
| public ByteBuffer[] | nioBuffers()
Overrides io. ByteBuffer's.
|
| public ByteBuffer[] | nioBuffers(int index, int length)
Overrides io. 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.
|
| public ByteBuf | order(ByteOrder endianness)
Overrides io. endianness which shares the whole region,
indexes, and marks of this buffer.
|
| public boolean | readBoolean()
Overrides io. readerIndex and increases
the readerIndex by 1 in this buffer.
|
| public byte | readByte()
Overrides io. readerIndex and increases
the readerIndex by 1 in this buffer.
|
| public ByteBuf | readBytes(int
the number of bytes to transfer length)Overrides io. readerIndex and increases the readerIndex
by the number of the transferred bytes (= length).
|
| public CompositeByteBuf | readBytes(ByteBuf dst)
Overrides io. readerIndex until the destination becomes
non-writable, and increases the readerIndex by the number of the
transferred bytes.
|
| public CompositeByteBuf | readBytes(ByteBuf dst, int length)
Overrides io. readerIndex and increases the readerIndex
by the number of the transferred bytes (= length).
|
| public CompositeByteBuf | readBytes(ByteBuf dst, int
the first index of the destination dstIndex, int the number of bytes to transfer length)Overrides io. readerIndex and increases the readerIndex
by the number of the transferred bytes (= length).
|
| public CompositeByteBuf | readBytes(byte[] dst)
Overrides io. readerIndex and increases the readerIndex
by the number of the transferred bytes (= dst.length).
|
| public CompositeByteBuf | readBytes(byte[] dst, int
the first index of the destination dstIndex, int the number of bytes to transfer length)Overrides io. readerIndex and increases the readerIndex
by the number of the transferred bytes (= length).
|
| public CompositeByteBuf | readBytes(ByteBuffer dst)
Overrides io. readerIndex until the destination's position
reaches its limit, and increases the readerIndex by the
number of the transferred bytes.
|
| public CompositeByteBuf | readBytes(OutputStream out, int
the number of bytes to transfer length)Overrides io. readerIndex.
|
| public int | readBytes(GatheringByteChannel out, int
the maximum number of bytes to transfer length)Overrides io. readerIndex.
|
| public int | readBytes(FileChannel out, long
the file position at which the transfer is to begin position, int the maximum number of bytes to transfer length)Overrides io. readerIndex
to the specified channel starting at the given file position.
|
| public char | readChar()
Overrides io. readerIndex
and increases the readerIndex by 2 in this buffer.
|
| public CharSequence | readCharSequence(int
the length to read length, Charset that should be used charset)Overrides io. CharSequence with the given length at the current readerIndex
and increases the readerIndex by the given length.
|
| public double | readDouble()
Overrides io. readerIndex
and increases the readerIndex by 8 in this buffer.
|
| public float | readFloat()
Overrides io. readerIndex
and increases the readerIndex by 4 in this buffer.
|
| public int | readInt()
Overrides io. readerIndex
and increases the readerIndex by 4 in this buffer.
|
| public int | readIntLE()
Overrides io. readerIndex
in the Little Endian Byte Order and increases the readerIndex
by 4 in this buffer.
|
| public long | readLong()
Overrides io. readerIndex
and increases the readerIndex by 8 in this buffer.
|
| public long | readLongLE()
Overrides io. readerIndex
in the Little Endian Byte Order and increases the readerIndex
by 8 in this buffer.
|
| public int | readMedium()
Overrides io. readerIndex
and increases the readerIndex by 3 in this buffer.
|
| public int | readMediumLE()
Overrides io. readerIndex
in the Little Endian Byte Order and increases the
readerIndex by 3 in this buffer.
|
| public ByteBuf | readRetainedSlice(int
the size of the new slice length)Overrides io. readerIndex and increases the readerIndex by the size
of the new slice (= length).
|
| public short | readShort()
Overrides io. readerIndex
and increases the readerIndex by 2 in this buffer.
|
| public short | readShortLE()
Overrides io. readerIndex
in the Little Endian Byte Order and increases the readerIndex
by 2 in this buffer.
|
| public ByteBuf | readSlice(int
the size of the new slice length)Overrides io. readerIndex and increases the readerIndex by the size
of the new slice (= length).
|
| public short | readUnsignedByte()
Overrides io. readerIndex and increases
the readerIndex by 1 in this buffer.
|
| public long | readUnsignedInt()
Overrides io. readerIndex
and increases the readerIndex by 4 in this buffer.
|
| public long | readUnsignedIntLE()
Overrides io. readerIndex
in the Little Endian Byte Order and increases the readerIndex
by 4 in this buffer.
|
| public int | readUnsignedMedium()
Overrides io. readerIndex
and increases the readerIndex by 3 in this buffer.
|
| public int | readUnsignedMediumLE()
Overrides io. readerIndex
in the Little Endian Byte Order and increases the readerIndex
by 3 in this buffer.
|
| public int | readUnsignedShort()
Overrides io. readerIndex
and increases the readerIndex by 2 in this buffer.
|
| public int | readUnsignedShortLE()
Overrides io. readerIndex
in the Little Endian Byte Order and increases the readerIndex
by 2 in this buffer.
|
| public boolean | release()
Overrides io. Implements io. 1 and deallocates this object if the reference count reaches at
0.
|
| public boolean | release(int decrement)
Overrides io. Implements io. decrement and deallocates this object if the reference
count reaches at 0.
|
| public CompositeByteBuf | removeComponent(int
the index on from which the cIndex)ByteBuf will be removeOverrides io. ByteBuf from the given index.
|
| public CompositeByteBuf | removeComponents(int
the index on which the cIndex, int ByteBufs will be started to removedthe number of components to remove numComponents)Overrides io. ByteBufs starting from the given index.
|
| public CompositeByteBuf | retain()
Overrides io. Implements io. 1.
|
| public CompositeByteBuf | retain(int increment)
Overrides io. Implements io. increment.
|
| public ByteBuf | retainedDuplicate()
Overrides io. |
| public ByteBuf | retainedSlice()
Overrides io. |
| public ByteBuf | retainedSlice(int index, int length)
Overrides io. |
| public CompositeByteBuf | setBoolean(int index, boolean value)
Overrides io. index in this
buffer.
|
| public CompositeByteBuf | setByte(int index, int value)
Overrides io. index in this
buffer.
|
| public CompositeByteBuf | setBytes(int index, ByteBuf src)
Overrides io. index until the source buffer becomes
unreadable.
|
| public CompositeByteBuf | setBytes(int index, ByteBuf src, int
the number of bytes to transfer length)Overrides io. index.
|
| public CompositeByteBuf | setBytes(int index, ByteBuf src, int
the first index of the source srcIndex, int the number of bytes to transfer length)Overrides io. index.
|
| public CompositeByteBuf | setBytes(int index, byte[] src)
Overrides io. index.
|
| public CompositeByteBuf | setBytes(int index, byte[] src, int srcIndex, int length)
Overrides io. index.
|
| public CompositeByteBuf | setBytes(int index, ByteBuffer src)
Overrides io. index until the source buffer's position
reaches its limit.
|
| public int | setBytes(int index, InputStream in, int
the number of bytes to transfer length)Overrides io. index.
|
| public int | setBytes(int index, ScatteringByteChannel in, int
the maximum number of bytes to transfer length)Overrides io. index.
|
| public int | setBytes(int index, FileChannel in, long
the file position at which the transfer is to begin position, int the maximum number of bytes to transfer length)Overrides io. index.
|
| public CompositeByteBuf | setChar(int index, int value)
Overrides io. index in this buffer.
|
| public int | setCharSequence(int
on which the sequence should be written index, CharSequence to write sequence, Charset that should be used. charset)Overrides io. CharSequence at the given index.
|
| public CompositeByteBuf | setDouble(int index, double value)
Overrides io. index in this buffer.
|
| public CompositeByteBuf | setFloat(int index, float value)
Overrides io. index in this buffer.
|
| public CompositeByteBuf | setInt(int index, int value)
Overrides io. index in this buffer.
|
| public ByteBuf | setIntLE(int index, int value)
Overrides io. index in this buffer with Little Endian byte order
.
|
| public CompositeByteBuf | setLong(int index, long value)
Overrides io. index in this buffer.
|
| public ByteBuf | setLongLE(int index, long value)
Overrides io. index in this buffer in Little Endian Byte Order.
|
| public CompositeByteBuf | setMedium(int index, int value)
Overrides io. index in this buffer.
|
| public ByteBuf | setMediumLE(int index, int value)
Overrides io. index in this buffer in the Little Endian Byte Order.
|
| public CompositeByteBuf | setShort(int index, int value)
Overrides io. index in this buffer.
|
| public ByteBuf | setShortLE(int index, int value)
Overrides io. index in this buffer with the Little Endian Byte Order.
|
| public CompositeByteBuf | setZero(int index, int
the number of NULs to write to the buffer length)Overrides io. index.
|
| public CompositeByteBuf | skipBytes(int length)
Overrides io. readerIndex by the specified
length in this buffer.
|
| public ByteBuf | slice()
Overrides io. |
| public ByteBuf | slice(int index, int length)
Overrides io. |
| public String | |
| public String | |
| public CompositeByteBuf | touch()
Overrides io. Implements io. |
| public CompositeByteBuf | touch(Object hint)
Overrides io. Implements io. |
| public CompositeByteBuf | writeBoolean(boolean value)
Overrides io. writerIndex
and increases the writerIndex by 1 in this buffer.
|
| public CompositeByteBuf | writeByte(int value)
Overrides io. writerIndex
and increases the writerIndex by 1 in this buffer.
|
| public CompositeByteBuf | writeBytes(ByteBuf src)
Overrides io. writerIndex until the source buffer becomes
unreadable, and increases the writerIndex by the number of
the transferred bytes.
|
| public CompositeByteBuf | writeBytes(ByteBuf src, int
the number of bytes to transfer length)Overrides io. writerIndex and increases the writerIndex
by the number of the transferred bytes (= length).
|
| public CompositeByteBuf | writeBytes(ByteBuf src, int
the first index of the source srcIndex, int the number of bytes to transfer length)Overrides io. writerIndex and increases the writerIndex
by the number of the transferred bytes (= length).
|
| public CompositeByteBuf | writeBytes(byte[] src)
Overrides io. writerIndex and increases the writerIndex
by the number of the transferred bytes (= src.length).
|
| public CompositeByteBuf | writeBytes(byte[] src, int
the first index of the source srcIndex, int the number of bytes to transfer length)Overrides io. writerIndex and increases the writerIndex
by the number of the transferred bytes (= length).
|
| public CompositeByteBuf | writeBytes(ByteBuffer src)
Overrides io. writerIndex until the source buffer's position
reaches its limit, and increases the writerIndex by the
number of the transferred bytes.
|
| public int | writeBytes(InputStream in, int
the number of bytes to transfer length)Overrides io. writerIndex and increases the
writerIndex by the number of the transferred bytes.
|
| public int | writeBytes(ScatteringByteChannel in, int
the maximum number of bytes to transfer length)Overrides io. writerIndex and increases the
writerIndex by the number of the transferred bytes.
|
| public int | writeBytes(FileChannel in, long
the file position at which the transfer is to begin position, int the maximum number of bytes to transfer length)Overrides io. writerIndex and increases the
writerIndex by the number of the transferred bytes.
|
| public CompositeByteBuf | writeChar(int value)
Overrides io. writerIndex and increases the writerIndex by 2
in this buffer.
|
| public int | writeCharSequence(CharSequence
to write sequence, Charset that should be used charset)Overrides io. CharSequence at the current writerIndex and increases
the writerIndex by the written bytes.
|
| public CompositeByteBuf | writeDouble(double value)
Overrides io. writerIndex and increases the writerIndex by 8
in this buffer.
|
| public CompositeByteBuf | writeFloat(float value)
Overrides io. writerIndex and increases the writerIndex by 4
in this buffer.
|
| public CompositeByteBuf | writeInt(int value)
Overrides io. writerIndex
and increases the writerIndex by 4 in this buffer.
|
| public ByteBuf | writeIntLE(int value)
Overrides io. writerIndex
in the Little Endian Byte Order and increases the writerIndex
by 4 in this buffer.
|
| public CompositeByteBuf | writeLong(long value)
Overrides io. writerIndex and increases the writerIndex by 8
in this buffer.
|
| public ByteBuf | writeLongLE(long value)
Overrides io. writerIndex in the Little Endian Byte Order and
increases the writerIndex by 8
in this buffer.
|
| public CompositeByteBuf | writeMedium(int value)
Overrides io. writerIndex and increases the writerIndex by 3
in this buffer.
|
| public ByteBuf | writeMediumLE(int value)
Overrides io. writerIndex in the Little Endian Byte Order and
increases the writerIndex by 3 in this
buffer.
|
| public CompositeByteBuf | writeShort(int value)
Overrides io. writerIndex and increases the writerIndex by 2
in this buffer.
|
| public ByteBuf | writeShortLE(int value)
Overrides io. writerIndex and increases the
writerIndex by 2 in this buffer.
|
| public CompositeByteBuf | writeZero(int
the number of NULs to write to the buffer length)Overrides io. writerIndex and increases the writerIndex by the
specified length.
|