Skip navigation links
A B C D E F G H I M N P R S T W 

A

addBuffer(Buffer) - Method in interface CompositeBuffer
Add the given Buffer to this buffer and increment the writerIndex.
addBuffer(Buffer, boolean) - Method in interface CompositeBuffer
Add the given Buffer to this buffer.
array() - Method in interface Buffer
Returns the backing byte array of this buffer.
array() - Method in class EmptyBuffer
 
arrayOffset() - Method in interface Buffer
Returns the offset of the first byte within the backing byte array of this buffer.
arrayOffset() - Method in class EmptyBuffer
 
asInputStream(Buffer) - Static method in interface Buffer
Return an InputStream that wraps the given Buffer.
asOutputStream(Buffer) - Static method in interface Buffer
Return an OutputStream that wraps the given Buffer.
asReadOnly() - Method in interface Buffer
Create a read-only view for this buffer.
asReadOnly() - Method in class EmptyBuffer
 

B

Buffer - Interface in io.servicetalk.buffer.api
An arbitrary and sequential accessible sequence of zero or more bytes (octets).
BufferAllocator - Interface in io.servicetalk.buffer.api
An API to allocate Buffers.
BufferHolder - Interface in io.servicetalk.buffer.api
An object which contains a Buffer.
ByteProcessor - Interface in io.servicetalk.buffer.api
Provides a mechanism to iterate over a collection of bytes.
bytesBefore(byte) - Method in interface Buffer
Locates the first occurrence of the specified value in this buffer.
bytesBefore(int, byte) - Method in interface Buffer
Locates the first occurrence of the specified value in this buffer.
bytesBefore(int, int, byte) - Method in interface Buffer
Locates the first occurrence of the specified value in this buffer.
bytesBefore(byte) - Method in class EmptyBuffer
 
bytesBefore(int, byte) - Method in class EmptyBuffer
 
bytesBefore(int, int, byte) - Method in class EmptyBuffer
 

C

capacity() - Method in interface Buffer
Returns the number of bytes (octets) this buffer can contain.
capacity(int) - Method in interface Buffer
Sets the capacity of this buffer.
capacity(int) - Method in interface CompositeBuffer
 
capacity() - Method in class EmptyBuffer
 
capacity(int) - Method in class EmptyBuffer
 
clear() - Method in interface Buffer
Sets the readerIndex and writerIndex of this buffer to 0.
clear() - Method in interface CompositeBuffer
 
clear() - Method in class EmptyBuffer
 
CompositeBuffer - Interface in io.servicetalk.buffer.api
A virtual Buffer which shows multiple buffers as a single merged buffer.
consolidate() - Method in interface CompositeBuffer
Consolidate the composed Buffers.
consolidate(int, int) - Method in interface CompositeBuffer
Consolidate the composed Buffers.
content() - Method in interface BufferHolder
The buffer contained by this object.
copy() - Method in interface Buffer
Returns a copy of this buffer's readable bytes.
copy(int, int) - Method in interface Buffer
Returns a copy of this buffer's sub-region.
copy() - Method in class EmptyBuffer
 
copy(int, int) - Method in class EmptyBuffer
 

D

DEFAULT_RO_ALLOCATOR - Static variable in class ReadOnlyBufferAllocators
Default BufferAllocator that creates Buffer instances which cannot be modified and are read only.
discardSomeReadBytes() - Method in interface CompositeBuffer
Discard all Buffers which have been read.
duplicate() - Method in interface Buffer
Returns a buffer which shares the whole region of this buffer.
duplicate() - Method in interface BufferHolder
Duplicates this BufferHolder.
duplicate() - Method in class EmptyBuffer
 

E

EMPTY_BUFFER - Static variable in class EmptyBuffer
An instance of EmptyBuffer that can be shared.
EmptyBuffer - Class in io.servicetalk.buffer.api
An immutable zero capacity Buffer.
ensureWritable(int) - Method in interface Buffer
Expands the buffer Buffer.capacity() to make sure the number of writable bytes is equal to or greater than the specified value.
ensureWritable(int, boolean) - Method in interface Buffer
Expands the buffer Buffer.capacity() to make sure the number of writable bytes is equal to or greater than the specified value.
ensureWritable(int) - Method in class EmptyBuffer
 
ensureWritable(int, boolean) - Method in class EmptyBuffer
 
equals(Object) - Method in interface Buffer
Determines if the content of the specified buffer is identical to the content of this array.

F

forEachByte(ByteProcessor) - Method in interface Buffer
Iterates over the readable bytes of this buffer with the specified processor in ascending order.
forEachByte(int, int, ByteProcessor) - Method in interface Buffer
Iterates over the specified area of this buffer with the specified processor in ascending order.
forEachByte(ByteProcessor) - Method in class EmptyBuffer
 
forEachByte(int, int, ByteProcessor) - Method in class EmptyBuffer
 
forEachByteDesc(ByteProcessor) - Method in interface Buffer
Iterates over the readable bytes of this buffer with the specified processor in descending order.
forEachByteDesc(int, int, ByteProcessor) - Method in interface Buffer
Iterates over the specified area of this buffer with the specified processor in descending order.
forEachByteDesc(ByteProcessor) - Method in class EmptyBuffer
 
forEachByteDesc(int, int, ByteProcessor) - Method in class EmptyBuffer
 
fromAscii(CharSequence) - Method in interface BufferAllocator
Create a new Buffer from the given CharSequence using Ascii encoding.
fromAscii(CharSequence, boolean) - Method in interface BufferAllocator
Create a new Buffer from the given CharSequence using Ascii encoding.
fromSequence(CharSequence, Charset) - Method in interface BufferAllocator
Create a new Buffer from the given CharSequence using the Charset.
fromSequence(CharSequence, Charset, boolean) - Method in interface BufferAllocator
Create a new Buffer from the given CharSequence using the Charset.
fromUtf8(CharSequence) - Method in interface BufferAllocator
Create a new Buffer from the given CharSequence using UTF-8 encoding.
fromUtf8(CharSequence, boolean) - Method in interface BufferAllocator
Create a new Buffer from the given CharSequence using UTF-8 encoding.

G

getBoolean(int) - Method in interface Buffer
Gets a boolean at the specified absolute (@code index) in this buffer.
getBoolean(int) - Method in class EmptyBuffer
 
getByte(int) - Method in interface Buffer
Gets a byte at the specified absolute index in this buffer.
getByte(int) - Method in class EmptyBuffer
 
getBytes(int, Buffer) - Method in interface Buffer
Transfers this buffer's data to the specified destination starting at the specified absolute index until the destination becomes non-writable.
getBytes(int, Buffer, int) - Method in interface Buffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(int, Buffer, int, int) - Method in interface Buffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(int, byte[]) - Method in interface Buffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(int, byte[], int, int) - Method in interface Buffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(int, ByteBuffer) - Method in interface Buffer
Transfers this buffer's data to the specified destination starting at the specified absolute index until the destination's position reaches its limit.
getBytes(int, Buffer) - Method in interface CompositeBuffer
 
getBytes(int, Buffer, int) - Method in interface CompositeBuffer
 
getBytes(int, Buffer, int, int) - Method in interface CompositeBuffer
 
getBytes(int, byte[]) - Method in interface CompositeBuffer
 
getBytes(int, byte[], int, int) - Method in interface CompositeBuffer
 
getBytes(int, ByteBuffer) - Method in interface CompositeBuffer
 
getBytes(int, Buffer) - Method in class EmptyBuffer
 
getBytes(int, Buffer, int) - Method in class EmptyBuffer
 
getBytes(int, Buffer, int, int) - Method in class EmptyBuffer
 
getBytes(int, byte[]) - Method in class EmptyBuffer
 
getBytes(int, byte[], int, int) - Method in class EmptyBuffer
 
getBytes(int, ByteBuffer) - Method in class EmptyBuffer
 
getChar(int) - Method in interface Buffer
Gets a 2-byte UTF-16 character at the specified absolute index in this buffer.
getChar(int) - Method in class EmptyBuffer
 
getDouble(int) - Method in interface Buffer
Gets a 64-bit floating point number at the specified absolute index in this buffer.
getDouble(int) - Method in class EmptyBuffer
 
getFloat(int) - Method in interface Buffer
Gets a 32-bit floating point number at the specified absolute index in this buffer.
getFloat(int) - Method in class EmptyBuffer
 
getInt(int) - Method in interface Buffer
Gets a 32-bit integer at the specified absolute index in this buffer.
getInt(int) - Method in class EmptyBuffer
 
getIntLE(int) - Method in interface Buffer
Gets a 32-bit integer at the specified absolute index in this buffer with Little Endian Byte Order.
getIntLE(int) - Method in class EmptyBuffer
 
getLong(int) - Method in interface Buffer
Gets a 64-bit long integer at the specified absolute index in this buffer.
getLong(int) - Method in class EmptyBuffer
 
getLongLE(int) - Method in interface Buffer
Gets a 64-bit long integer at the specified absolute index in this buffer in Little Endian Byte Order.
getLongLE(int) - Method in class EmptyBuffer
 
getMedium(int) - Method in interface Buffer
Gets a 24-bit medium integer at the specified absolute index in this buffer.
getMedium(int) - Method in class EmptyBuffer
 
getMediumLE(int) - Method in interface Buffer
Gets a 24-bit medium integer at the specified absolute index in this buffer in the Little Endian Byte Order.
getMediumLE(int) - Method in class EmptyBuffer
 
getShort(int) - Method in interface Buffer
Gets a 16-bit short integer at the specified absolute index in this buffer.
getShort(int) - Method in class EmptyBuffer
 
getShortLE(int) - Method in interface Buffer
Gets a 16-bit short integer at the specified absolute index in this buffer in Little Endian Byte Order.
getShortLE(int) - Method in class EmptyBuffer
 
getUnsignedByte(int) - Method in interface Buffer
Gets an unsigned byte at the specified absolute index in this buffer.
getUnsignedByte(int) - Method in class EmptyBuffer
 
getUnsignedInt(int) - Method in interface Buffer
Gets an unsigned 32-bit integer at the specified absolute index in this buffer.
getUnsignedInt(int) - Method in class EmptyBuffer
 
getUnsignedIntLE(int) - Method in interface Buffer
Gets an unsigned 32-bit integer at the specified absolute index in this buffer in Little Endian Byte Order.
getUnsignedIntLE(int) - Method in class EmptyBuffer
 
getUnsignedMedium(int) - Method in interface Buffer
Gets an unsigned 24-bit medium integer at the specified absolute index in this buffer.
getUnsignedMedium(int) - Method in class EmptyBuffer
 
getUnsignedMediumLE(int) - Method in interface Buffer
Gets an unsigned 24-bit medium integer at the specified absolute index in this buffer in Little Endian Byte Order.
getUnsignedMediumLE(int) - Method in class EmptyBuffer
 
getUnsignedShort(int) - Method in interface Buffer
Gets an unsigned 16-bit short integer at the specified absolute index in this buffer.
getUnsignedShort(int) - Method in class EmptyBuffer
 
getUnsignedShortLE(int) - Method in interface Buffer
Gets an unsigned 16-bit short integer at the specified absolute index in this buffer in Little Endian Byte Order.
getUnsignedShortLE(int) - Method in class EmptyBuffer
 

H

hasArray() - Method in interface Buffer
Returns true if and only if this buffer has a backing byte array.
hasArray() - Method in class EmptyBuffer
 
hashCode() - Method in interface Buffer
Returns a hash code which was calculated from the content of this buffer.

I

indexOf(int, int, byte) - Method in interface Buffer
Locates the first occurrence of the specified value in this buffer.
indexOf(int, int, byte) - Method in class EmptyBuffer
 
io.servicetalk.buffer.api - package io.servicetalk.buffer.api
 
isDirect() - Method in interface Buffer
Returns true if the buffer is direct and so not allocated on the heap.
isDirect() - Method in class EmptyBuffer
 
isReadOnly() - Method in interface Buffer
Determine if this buffer is read-only.
isReadOnly() - Method in class EmptyBuffer
 

M

maxCapacity() - Method in interface Buffer
Returns the maximum allowed capacity of this buffer.
maxCapacity() - Method in class EmptyBuffer
 
maxWritableBytes() - Method in interface Buffer
Returns the maximum possible number of writable bytes, which is equal to (this.maxCapacity - this.writerIndex).
maxWritableBytes() - Method in class EmptyBuffer
 

N

newBuffer() - Method in interface BufferAllocator
Create a new buffer.
newBuffer(boolean) - Method in interface BufferAllocator
Create a new buffer.
newBuffer(int) - Method in interface BufferAllocator
Create a new buffer with the given initial capacity.
newBuffer(int, int) - Method in interface BufferAllocator
Create a new buffer with the given initial capacity and given max capacity.
newBuffer(int, boolean) - Method in interface BufferAllocator
Create a new buffer with the given initial capacity.
newCompositeBuffer() - Method in interface BufferAllocator
Create a new composite buffer.
newCompositeBuffer(int) - Method in interface BufferAllocator
Create a new composite buffer.
nioBufferCount() - Method in interface Buffer
Returns the maximum number of NIO ByteBuffers that consist this buffer.
nioBufferCount() - Method in class EmptyBuffer
 

P

PREFER_DIRECT_RO_ALLOCATOR - Static variable in class ReadOnlyBufferAllocators
BufferAllocator that creates Buffer instances which prefer off-heap allocations when otherwise unspecified which cannot be modified and are read only.
PREFER_HEAP_RO_ALLOCATOR - Static variable in class ReadOnlyBufferAllocators
BufferAllocator that creates Buffer instances which prefer heap allocations when otherwise unspecified which cannot be modified and are read only.
process(byte) - Method in interface ByteProcessor
Process bytes until returns false.

R

readableBytes() - Method in interface Buffer
Returns the number of readable bytes which is equal to (this.writerIndex - this.readerIndex).
readableBytes() - Method in class EmptyBuffer
 
readBoolean() - Method in interface Buffer
Gets a boolean at the current readerIndex and increases the readerIndex by 1 in this buffer.
readBoolean() - Method in class EmptyBuffer
 
readByte() - Method in interface Buffer
Gets a byte at the current readerIndex and increases the readerIndex by 1 in this buffer.
readByte() - Method in class EmptyBuffer
 
readBytes(int) - Method in interface Buffer
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).
readBytes(Buffer) - Method in interface Buffer
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.
readBytes(Buffer, int) - Method in interface Buffer
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).
readBytes(Buffer, int, int) - Method in interface Buffer
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).
readBytes(byte[]) - Method in interface Buffer
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).
readBytes(byte[], int, int) - Method in interface Buffer
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).
readBytes(ByteBuffer) - Method in interface Buffer
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.
readBytes(int) - Method in class EmptyBuffer
 
readBytes(Buffer) - Method in class EmptyBuffer
 
readBytes(Buffer, int) - Method in class EmptyBuffer
 
readBytes(Buffer, int, int) - Method in class EmptyBuffer
 
readBytes(byte[]) - Method in class EmptyBuffer
 
readBytes(byte[], int, int) - Method in class EmptyBuffer
 
readBytes(ByteBuffer) - Method in class EmptyBuffer
 
readChar() - Method in interface Buffer
Gets a 2-byte UTF-16 character at the current readerIndex and increases the readerIndex by 2 in this buffer.
readChar() - Method in class EmptyBuffer
 
readDouble() - Method in interface Buffer
Gets a 64-bit floating point number at the current readerIndex and increases the readerIndex by 8 in this buffer.
readDouble() - Method in class EmptyBuffer
 
readerIndex() - Method in interface Buffer
Returns the readerIndex of this buffer.
readerIndex(int) - Method in interface Buffer
Sets the readerIndex of this buffer.
readerIndex(int) - Method in interface CompositeBuffer
 
readerIndex() - Method in class EmptyBuffer
 
readerIndex(int) - Method in class EmptyBuffer
 
readFloat() - Method in interface Buffer
Gets a 32-bit floating point number at the current readerIndex and increases the readerIndex by 4 in this buffer.
readFloat() - Method in class EmptyBuffer
 
readInt() - Method in interface Buffer
Gets a 32-bit integer at the current readerIndex and increases the readerIndex by 4 in this buffer.
readInt() - Method in class EmptyBuffer
 
readIntLE() - Method in interface Buffer
Gets a 32-bit integer at the current readerIndex in the Little Endian Byte Order and increases the readerIndex by 4 in this buffer.
readIntLE() - Method in class EmptyBuffer
 
readLong() - Method in interface Buffer
Gets a 64-bit integer at the current readerIndex and increases the readerIndex by 8 in this buffer.
readLong() - Method in class EmptyBuffer
 
readLongLE() - Method in interface Buffer
Gets a 64-bit integer at the current readerIndex in the Little Endian Byte Order and increases the readerIndex by 8 in this buffer.
readLongLE() - Method in class EmptyBuffer
 
readMedium() - Method in interface Buffer
Gets a 24-bit medium integer at the current readerIndex and increases the readerIndex by 3 in this buffer.
readMedium() - Method in class EmptyBuffer
 
readMediumLE() - Method in interface Buffer
Gets a 24-bit medium integer at the current readerIndex in the Little Endian Byte Order and increases the readerIndex by 3 in this buffer.
readMediumLE() - Method in class EmptyBuffer
 
ReadOnlyBufferAllocators - Class in io.servicetalk.buffer.api
Utility class containing BufferAllocators that create Buffer instances which cannot be modified and are read only.
readShort() - Method in interface Buffer
Gets a 16-bit short integer at the current readerIndex and increases the readerIndex by 2 in this buffer.
readShort() - Method in class EmptyBuffer
 
readShortLE() - Method in interface Buffer
Gets a 16-bit short integer at the current readerIndex in the Little Endian Byte Order and increases the readerIndex by 2 in this buffer.
readShortLE() - Method in class EmptyBuffer
 
readSlice(int) - Method in interface Buffer
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).
readSlice(int) - Method in class EmptyBuffer
 
readUnsignedByte() - Method in interface Buffer
Gets an unsigned byte at the current readerIndex and increases the readerIndex by 1 in this buffer.
readUnsignedByte() - Method in class EmptyBuffer
 
readUnsignedInt() - Method in interface Buffer
Gets an unsigned 32-bit integer at the current readerIndex and increases the readerIndex by 4 in this buffer.
readUnsignedInt() - Method in class EmptyBuffer
 
readUnsignedIntLE() - Method in interface Buffer
Gets an unsigned 32-bit integer at the current readerIndex in the Little Endian Byte Order and increases the readerIndex by 4 in this buffer.
readUnsignedIntLE() - Method in class EmptyBuffer
 
readUnsignedMedium() - Method in interface Buffer
Gets an unsigned 24-bit medium integer at the current readerIndex and increases the readerIndex by 3 in this buffer.
readUnsignedMedium() - Method in class EmptyBuffer
 
readUnsignedMediumLE() - Method in interface Buffer
Gets an unsigned 24-bit medium integer at the current readerIndex in the Little Endian Byte Order and increases the readerIndex by 3 in this buffer.
readUnsignedMediumLE() - Method in class EmptyBuffer
 
readUnsignedShort() - Method in interface Buffer
Gets an unsigned 16-bit short integer at the current readerIndex and increases the readerIndex by 2 in this buffer.
readUnsignedShort() - Method in class EmptyBuffer
 
readUnsignedShortLE() - Method in interface Buffer
Gets an unsigned 16-bit short integer at the current readerIndex in the Little Endian Byte Order and increases the readerIndex by 2 in this buffer.
readUnsignedShortLE() - Method in class EmptyBuffer
 
replace(Buffer) - Method in interface BufferHolder
Returns a new BufferHolder which contains the specified content.

S

setBoolean(int, boolean) - Method in interface Buffer
Sets the specified boolean at the specified absolute index in this buffer.
setBoolean(int, boolean) - Method in interface CompositeBuffer
 
setBoolean(int, boolean) - Method in class EmptyBuffer
 
setByte(int, int) - Method in interface Buffer
Sets the specified byte at the specified absolute index in this buffer.
setByte(int, int) - Method in interface CompositeBuffer
 
setByte(int, int) - Method in class EmptyBuffer
 
setBytes(int, Buffer) - Method in interface Buffer
Transfers the specified source buffer's data to this buffer starting at the specified absolute index until the source buffer becomes unreadable.
setBytes(int, Buffer, int) - Method in interface Buffer
Transfers the specified source buffer's data to this buffer starting at the specified absolute index.
setBytes(int, Buffer, int, int) - Method in interface Buffer
Transfers the specified source buffer's data to this buffer starting at the specified absolute index.
setBytes(int, byte[]) - Method in interface Buffer
Transfers the specified source array's data to this buffer starting at the specified absolute index.
setBytes(int, byte[], int, int) - Method in interface Buffer
Transfers the specified source array's data to this buffer starting at the specified absolute index.
setBytes(int, ByteBuffer) - Method in interface Buffer
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.
setBytes(int, InputStream, int) - Method in interface Buffer
Transfers a fixed amount from the specified source InputStream's data to this buffer starting at the specified absolute index until length bytes have been read, the end of stream is reached, or an exception is thrown.
setBytes(int, Buffer) - Method in interface CompositeBuffer
 
setBytes(int, Buffer, int) - Method in interface CompositeBuffer
 
setBytes(int, Buffer, int, int) - Method in interface CompositeBuffer
 
setBytes(int, byte[]) - Method in interface CompositeBuffer
 
setBytes(int, byte[], int, int) - Method in interface CompositeBuffer
 
setBytes(int, ByteBuffer) - Method in interface CompositeBuffer
 
setBytes(int, Buffer) - Method in class EmptyBuffer
 
setBytes(int, Buffer, int) - Method in class EmptyBuffer
 
setBytes(int, Buffer, int, int) - Method in class EmptyBuffer
 
setBytes(int, byte[]) - Method in class EmptyBuffer
 
setBytes(int, byte[], int, int) - Method in class EmptyBuffer
 
setBytes(int, ByteBuffer) - Method in class EmptyBuffer
 
setBytes(int, InputStream, int) - Method in class EmptyBuffer
 
setBytesUntilEndStream(int, InputStream, int) - Method in interface Buffer
Transfers all the specified source InputStream's data to this buffer starting at the specified absolute index until the end of stream is reached or an exception is thrown.
setBytesUntilEndStream(int, InputStream, int) - Method in class EmptyBuffer
 
setChar(int, int) - Method in interface Buffer
Sets the specified 2-byte UTF-16 character at the specified absolute index in this buffer.
setChar(int, int) - Method in interface CompositeBuffer
 
setChar(int, int) - Method in class EmptyBuffer
 
setDouble(int, double) - Method in interface Buffer
Sets the specified 64-bit floating-point number at the specified absolute index in this buffer.
setDouble(int, double) - Method in interface CompositeBuffer
 
setDouble(int, double) - Method in class EmptyBuffer
 
setFloat(int, float) - Method in interface Buffer
Sets the specified 32-bit floating-point number at the specified absolute index in this buffer.
setFloat(int, float) - Method in interface CompositeBuffer
 
setFloat(int, float) - Method in class EmptyBuffer
 
setInt(int, int) - Method in interface Buffer
Sets the specified 32-bit integer at the specified absolute index in this buffer.
setInt(int, int) - Method in interface CompositeBuffer
 
setInt(int, int) - Method in class EmptyBuffer
 
setIntLE(int, int) - Method in interface Buffer
Sets the specified 32-bit integer at the specified absolute index in this buffer with Little Endian byte order .
setIntLE(int, int) - Method in interface CompositeBuffer
 
setIntLE(int, int) - Method in class EmptyBuffer
 
setLong(int, long) - Method in interface Buffer
Sets the specified 64-bit long integer at the specified absolute index in this buffer.
setLong(int, long) - Method in interface CompositeBuffer
 
setLong(int, long) - Method in class EmptyBuffer
 
setLongLE(int, long) - Method in interface Buffer
Sets the specified 64-bit long integer at the specified absolute index in this buffer in Little Endian Byte Order.
setLongLE(int, long) - Method in interface CompositeBuffer
 
setLongLE(int, long) - Method in class EmptyBuffer
 
setMedium(int, int) - Method in interface Buffer
Sets the specified 24-bit medium integer at the specified absolute index in this buffer.
setMedium(int, int) - Method in interface CompositeBuffer
 
setMedium(int, int) - Method in class EmptyBuffer
 
setMediumLE(int, int) - Method in interface Buffer
Sets the specified 24-bit medium integer at the specified absolute index in this buffer in the Little Endian Byte Order.
setMediumLE(int, int) - Method in interface CompositeBuffer
 
setMediumLE(int, int) - Method in class EmptyBuffer
 
setShort(int, int) - Method in interface Buffer
Sets the specified 16-bit short integer at the specified absolute index in this buffer.
setShort(int, int) - Method in interface CompositeBuffer
 
setShort(int, int) - Method in class EmptyBuffer
 
setShortLE(int, int) - Method in interface Buffer
Sets the specified 16-bit short integer at the specified absolute index in this buffer with the Little Endian Byte Order.
setShortLE(int, int) - Method in interface CompositeBuffer
 
setShortLE(int, int) - Method in class EmptyBuffer
 
skipBytes(int) - Method in interface Buffer
Increases the current readerIndex by the specified length in this buffer.
skipBytes(int) - Method in interface CompositeBuffer
 
skipBytes(int) - Method in class EmptyBuffer
 
slice() - Method in interface Buffer
Returns a slice of this buffer's readable bytes.
slice(int, int) - Method in interface Buffer
Returns a slice of this buffer's sub-region.
slice() - Method in class EmptyBuffer
 
slice(int, int) - Method in class EmptyBuffer
 

T

toNioBuffer() - Method in interface Buffer
Exposes this buffer's readable bytes as an NIO ByteBuffer.
toNioBuffer(int, int) - Method in interface Buffer
Exposes this buffer's sub-region as an NIO ByteBuffer.
toNioBuffer() - Method in class EmptyBuffer
 
toNioBuffer(int, int) - Method in class EmptyBuffer
 
toNioBuffers() - Method in interface Buffer
Exposes this buffer's readable bytes as an NIO ByteBuffer's.
toNioBuffers(int, int) - Method in interface Buffer
Exposes this buffer's bytes as an NIO ByteBuffer's for the specified index and length The returned buffer shares the content with this buffer, while changing the position and limit of the returned NIO buffer does not affect the indexes of this buffer.
toNioBuffers() - Method in class EmptyBuffer
 
toNioBuffers(int, int) - Method in class EmptyBuffer
 
toString() - Method in interface Buffer
Returns the string representation of this buffer.
toString(Charset) - Method in interface Buffer
Decodes this buffer's readable bytes into a string with the specified character set name.
toString(int, int, Charset) - Method in interface Buffer
Decodes this buffer's sub-region into a string with the specified character set.
toString(Charset) - Method in class EmptyBuffer
 
toString(int, int, Charset) - Method in class EmptyBuffer
 
tryEnsureWritable(int, boolean) - Method in interface Buffer
Tries to make sure the number of writable bytes is equal to or greater than the specified value.

W

wrap(byte[]) - Method in interface BufferAllocator
Create a new Buffer that wraps the given byte array.
wrap(byte[], int, int) - Method in interface BufferAllocator
Create a new Buffer that wraps the given byte array.
wrap(ByteBuffer) - Method in interface BufferAllocator
Create a new Buffer that wraps the given ByteBuffer.
writableBytes() - Method in interface Buffer
Returns the number of writable bytes which is equal to (this.capacity - this.writerIndex).
writableBytes() - Method in class EmptyBuffer
 
writeAscii(CharSequence) - Method in interface Buffer
Encode a CharSequence in ASCII and write it to this buffer starting at writerIndex and increases the writerIndex by the number of the transferred bytes.
writeAscii(CharSequence) - Method in interface CompositeBuffer
 
writeAscii(CharSequence) - Method in class EmptyBuffer
 
writeBoolean(boolean) - Method in interface Buffer
Sets the specified boolean at the current writerIndex and increases the writerIndex by 1 in this buffer.
writeBoolean(boolean) - Method in interface CompositeBuffer
 
writeBoolean(boolean) - Method in class EmptyBuffer
 
writeByte(int) - Method in interface Buffer
Sets the specified byte at the current writerIndex and increases the writerIndex by 1 in this buffer.
writeByte(int) - Method in interface CompositeBuffer
 
writeByte(int) - Method in class EmptyBuffer
 
writeBytes(Buffer) - Method in interface Buffer
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.
writeBytes(Buffer, int) - Method in interface Buffer
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).
writeBytes(Buffer, int, int) - Method in interface Buffer
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).
writeBytes(byte[]) - Method in interface Buffer
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).
writeBytes(byte[], int, int) - Method in interface Buffer
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).
writeBytes(ByteBuffer) - Method in interface Buffer
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.
writeBytes(InputStream, int) - Method in interface Buffer
Transfers ta fixed amount from the specified source InputStream's data to this buffer starting at the current writerIndex until length bytes have been read, the end of stream is reached, or an exception is thrown.
writeBytes(Buffer) - Method in interface CompositeBuffer
 
writeBytes(Buffer, int) - Method in interface CompositeBuffer
 
writeBytes(Buffer, int, int) - Method in interface CompositeBuffer
 
writeBytes(byte[]) - Method in interface CompositeBuffer
 
writeBytes(byte[], int, int) - Method in interface CompositeBuffer
 
writeBytes(ByteBuffer) - Method in interface CompositeBuffer
 
writeBytes(Buffer) - Method in class EmptyBuffer
 
writeBytes(Buffer, int) - Method in class EmptyBuffer
 
writeBytes(Buffer, int, int) - Method in class EmptyBuffer
 
writeBytes(byte[]) - Method in class EmptyBuffer
 
writeBytes(byte[], int, int) - Method in class EmptyBuffer
 
writeBytes(ByteBuffer) - Method in class EmptyBuffer
 
writeBytes(InputStream, int) - Method in class EmptyBuffer
 
writeBytesUntilEndStream(InputStream, int) - Method in interface Buffer
Transfers all the specified source InputStream's data to this buffer starting at the current writerIndex until the end of stream is reached or an exception is thrown.
writeBytesUntilEndStream(InputStream, int) - Method in class EmptyBuffer
 
writeChar(int) - Method in interface Buffer
Sets the specified 2-byte UTF-16 character at the current writerIndex and increases the writerIndex by 2 in this buffer.
writeChar(int) - Method in interface CompositeBuffer
 
writeChar(int) - Method in class EmptyBuffer
 
writeDouble(double) - Method in interface Buffer
Sets the specified 64-bit floating point number at the current writerIndex and increases the writerIndex by 8 in this buffer.
writeDouble(double) - Method in interface CompositeBuffer
 
writeDouble(double) - Method in class EmptyBuffer
 
writeFloat(float) - Method in interface Buffer
Sets the specified 32-bit floating point number at the current writerIndex and increases the writerIndex by 4 in this buffer.
writeFloat(float) - Method in interface CompositeBuffer
 
writeFloat(float) - Method in class EmptyBuffer
 
writeInt(int) - Method in interface Buffer
Sets the specified 32-bit integer at the current writerIndex and increases the writerIndex by 4 in this buffer.
writeInt(int) - Method in interface CompositeBuffer
 
writeInt(int) - Method in class EmptyBuffer
 
writeIntLE(int) - Method in interface Buffer
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.
writeIntLE(int) - Method in interface CompositeBuffer
 
writeIntLE(int) - Method in class EmptyBuffer
 
writeLong(long) - Method in interface Buffer
Sets the specified 64-bit long integer at the current writerIndex and increases the writerIndex by 8 in this buffer.
writeLong(long) - Method in interface CompositeBuffer
 
writeLong(long) - Method in class EmptyBuffer
 
writeLongLE(long) - Method in interface Buffer
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.
writeLongLE(long) - Method in interface CompositeBuffer
 
writeLongLE(long) - Method in class EmptyBuffer
 
writeMedium(int) - Method in interface Buffer
Sets the specified 24-bit medium integer at the current writerIndex and increases the writerIndex by 3 in this buffer.
writeMedium(int) - Method in interface CompositeBuffer
 
writeMedium(int) - Method in class EmptyBuffer
 
writeMediumLE(int) - Method in interface Buffer
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.
writeMediumLE(int) - Method in interface CompositeBuffer
 
writeMediumLE(int) - Method in class EmptyBuffer
 
writerIndex() - Method in interface Buffer
Returns the writerIndex of this buffer.
writerIndex(int) - Method in interface Buffer
Sets the writerIndex of this buffer.
writerIndex(int) - Method in interface CompositeBuffer
 
writerIndex() - Method in class EmptyBuffer
 
writerIndex(int) - Method in class EmptyBuffer
 
writeShort(int) - Method in interface Buffer
Sets the specified 16-bit short integer at the current writerIndex and increases the writerIndex by 2 in this buffer.
writeShort(int) - Method in interface CompositeBuffer
 
writeShort(int) - Method in class EmptyBuffer
 
writeShortLE(int) - Method in interface Buffer
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.
writeShortLE(int) - Method in interface CompositeBuffer
 
writeShortLE(int) - Method in class EmptyBuffer
 
writeUtf8(CharSequence) - Method in interface Buffer
Encode a CharSequence in UTF-8 and write it to this buffer starting at writerIndex and increases the writerIndex by the number of the transferred bytes.
writeUtf8(CharSequence, int) - Method in interface Buffer
Encode a CharSequence in UTF-8 and write it to this buffer starting at writerIndex and increases the writerIndex by the number of the transferred bytes.
writeUtf8(CharSequence) - Method in interface CompositeBuffer
 
writeUtf8(CharSequence) - Method in class EmptyBuffer
 
writeUtf8(CharSequence, int) - Method in class EmptyBuffer
 
A B C D E F G H I M N P R S T W 
Skip navigation links