## Uses of Interface
org.jboss.netty.buffer.ChannelBuffer

Packages that use ChannelBuffer
org.jboss.netty.buffer: Abstraction of a byte buffer - the fundamental data structure to represent a low-level binary and text message.
org.jboss.netty.handler.codec.base64: Encoder and decoder which transform a Base64-encoded `String` or `ChannelBuffer` into a decoded `ChannelBuffer` and vice versa.
org.jboss.netty.handler.codec.frame: Extensible decoder and its common implementations which deal with the packet fragmentation and reassembly issue found in a stream-based transport such as TCP/IP.
org.jboss.netty.handler.codec.http: Encoder, decoder and their related message types for HTTP.
org.jboss.netty.handler.codec.http.websocket: Encoder, decoder and their related message types for Web Socket data frames.
org.jboss.netty.handler.codec.protobuf: Encoder and decoder which transform a Google Protocol Buffers `Message` into a `ChannelBuffer` and vice versa.
org.jboss.netty.handler.codec.replay: Specialized variation of `FrameDecoder` which enables implementation of a non-blocking decoder in the blocking I/O paradigm.
org.jboss.netty.handler.codec.rtsp: An RTSP extension based on the HTTP codec.
org.jboss.netty.handler.codec.serialization: Encoder, decoder and their compatibility stream implementations which transform a `Serializable` object into a byte buffer and vice versa.
org.jboss.netty.handler.ssl: SSL · TLS implementation based on `SSLEngine`

Uses of ChannelBuffer in org.jboss.netty.buffer

Subinterfaces of ChannelBuffer in org.jboss.netty.buffer
`interface` `WrappedChannelBuffer` The common interface for buffer wrappers and derived buffers.

Classes in org.jboss.netty.buffer that implement ChannelBuffer
`class` `AbstractChannelBuffer` A skeletal implementation of a buffer.
`class` `BigEndianHeapChannelBuffer` A big-endian Java heap buffer.
`class` `ByteBufferBackedChannelBuffer` A NIO `ByteBuffer` based buffer.
`class` `CompositeChannelBuffer` A virtual buffer which shows multiple buffers as a single merged buffer.
`class` `DuplicatedChannelBuffer` A derived buffer which simply forwards all data access requests to its parent.
`class` `DynamicChannelBuffer` A dynamic capacity buffer which increases its capacity as needed.
`class` `HeapChannelBuffer` A skeletal implementation for Java heap buffers.
`class` `LittleEndianHeapChannelBuffer` A little-endian Java heap buffer.
`class` `ReadOnlyChannelBuffer` A derived buffer which forbids any write requests to its parent.
`class` `SlicedChannelBuffer` A derived buffer which exposes its parent's sub-region only.
`class` `TruncatedChannelBuffer` A derived buffer which hides its parent's tail data beyond a certain index.

Fields in org.jboss.netty.buffer declared as ChannelBuffer
`static ChannelBuffer` `ChannelBuffers.EMPTY_BUFFER` A buffer whose capacity is `0`.

Methods in org.jboss.netty.buffer that return ChannelBuffer
`ChannelBuffer` `ChannelBufferOutputStream.buffer()` Returns the buffer where this stream is writing data.
`static ChannelBuffer` `ChannelBuffers.buffer(ByteOrder endianness, int capacity)` Creates a new Java heap buffer with the specified `endianness` and `capacity`.
`static ChannelBuffer` `ChannelBuffers.buffer(int capacity)` Creates a new big-endian Java heap buffer with the specified `capacity`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(byte[]... arrays)` Creates a new big-endian buffer whose content is a merged copy of the specified `arrays`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(byte[] array)` Creates a new big-endian buffer whose content is a copy of the specified `array`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(byte[] array, int offset, int length)` Creates a new big-endian buffer whose content is a copy of the specified `array`'s sub-region.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ByteBuffer... buffers)` Creates a new buffer whose content is a merged copy of the specified `buffers`' slices.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ByteBuffer buffer)` Creates a new buffer whose content is a copy of the specified `buffer`'s current slice.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ByteOrder endianness, byte[]... arrays)` Creates a new buffer with the specified `endianness` whose content is a merged copy of the specified `arrays`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ByteOrder endianness, byte[] array)` Creates a new buffer with the specified `endianness` whose content is a copy of the specified `array`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ByteOrder endianness, byte[] array, int offset, int length)` Creates a new buffer with the specified `endianness` whose content is a copy of the specified `array`'s sub-region.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ByteOrder endianness, char[] array, Charset charset)` Creates a new buffer with the specified `endianness` whose content is the specified `array` encoded in the specified `charset`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ByteOrder endianness, char[] array, int offset, int length, Charset charset)` Creates a new buffer with the specified `endianness` whose content is a subregion of the specified `array` encoded in the specified `charset`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ByteOrder endianness, CharSequence string, Charset charset)` Creates a new buffer with the specified `endianness` whose content is the specified `string` encoded in the specified `charset`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ByteOrder endianness, CharSequence string, int offset, int length, Charset charset)` Creates a new buffer with the specified `endianness` whose content is a subregion of the specified `string` encoded in the specified `charset`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ByteOrder endianness, String string, String charsetName)` Deprecated. Use `ChannelBuffers.copiedBuffer(ByteOrder, CharSequence, Charset)` instead.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ChannelBuffer... buffers)` Creates a new buffer whose content is a merged copy of the specified `buffers`' readable bytes.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ChannelBuffer buffer)` Creates a new buffer whose content is a copy of the specified `buffer`'s readable bytes.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(char[] array, Charset charset)` Creates a new big-endian buffer whose content is the specified `array` encoded in the specified `charset`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(char[] array, int offset, int length, Charset charset)` Creates a new big-endian buffer whose content is a subregion of the specified `array` encoded in the specified `charset`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(CharSequence string, Charset charset)` Creates a new big-endian buffer whose content is the specified `string` encoded in the specified `charset`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(CharSequence string, int offset, int length, Charset charset)` Creates a new big-endian buffer whose content is a subregion of the specified `string` encoded in the specified `charset`.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(String string, String charsetName)` Deprecated. Use `ChannelBuffers.copiedBuffer(CharSequence, Charset)` instead.
`ChannelBuffer` `AbstractChannelBuffer.copy()`
`ChannelBuffer` `ChannelBuffer.copy()` Returns a copy of this buffer's readable bytes.
`ChannelBuffer` `ChannelBuffer.copy(int index, int length)` Returns a copy of this buffer's sub-region.
`ChannelBuffer` `ReadOnlyChannelBuffer.copy(int index, int length)`
`ChannelBuffer` `SlicedChannelBuffer.copy(int index, int length)`
`ChannelBuffer` `BigEndianHeapChannelBuffer.copy(int index, int length)`
`ChannelBuffer` `LittleEndianHeapChannelBuffer.copy(int index, int length)`
`ChannelBuffer` `DuplicatedChannelBuffer.copy(int index, int length)`
`ChannelBuffer` `DynamicChannelBuffer.copy(int index, int length)`
`ChannelBuffer` `CompositeChannelBuffer.copy(int index, int length)`
`ChannelBuffer` `ByteBufferBackedChannelBuffer.copy(int index, int length)`
`ChannelBuffer` `TruncatedChannelBuffer.copy(int index, int length)`
`static ChannelBuffer` `ChannelBuffers.directBuffer(ByteOrder endianness, int capacity)` Creates a new direct buffer with the specified `endianness` and `capacity`.
`static ChannelBuffer` `ChannelBuffers.directBuffer(int capacity)` Creates a new big-endian direct buffer with the specified `capacity`.
`ChannelBuffer` `ChannelBuffer.duplicate()` Returns a buffer which shares the whole region of this buffer.
`ChannelBuffer` `ReadOnlyChannelBuffer.duplicate()`
`ChannelBuffer` `SlicedChannelBuffer.duplicate()`
`ChannelBuffer` `BigEndianHeapChannelBuffer.duplicate()`
`ChannelBuffer` `LittleEndianHeapChannelBuffer.duplicate()`
`ChannelBuffer` `DuplicatedChannelBuffer.duplicate()`
`ChannelBuffer` `DynamicChannelBuffer.duplicate()`
`ChannelBuffer` `CompositeChannelBuffer.duplicate()`
`ChannelBuffer` `ByteBufferBackedChannelBuffer.duplicate()`
`ChannelBuffer` `TruncatedChannelBuffer.duplicate()`
`static ChannelBuffer` `ChannelBuffers.dynamicBuffer()` Creates a new big-endian dynamic buffer whose estimated data length is `256` bytes.
`static ChannelBuffer` `ChannelBuffers.dynamicBuffer(ByteOrder endianness, int estimatedLength)` Creates a new dynamic buffer with the specified endianness and the specified estimated data length.
`static ChannelBuffer` `ChannelBuffers.dynamicBuffer(ByteOrder endianness, int estimatedLength, ChannelBufferFactory factory)` Creates a new dynamic buffer with the specified endianness and the specified estimated data length using the specified factory.
`static ChannelBuffer` `ChannelBuffers.dynamicBuffer(ChannelBufferFactory factory)`
`static ChannelBuffer` `ChannelBuffers.dynamicBuffer(int estimatedLength)` Creates a new big-endian dynamic buffer with the specified estimated data length.
`static ChannelBuffer` `ChannelBuffers.dynamicBuffer(int estimatedLength, ChannelBufferFactory factory)` Creates a new big-endian dynamic buffer with the specified estimated data length using the specified factory.
`ChannelBuffer` `ChannelBufferFactory.getBuffer(byte[] array, int offset, int length)` Returns a `ChannelBuffer` whose content is equal to the sub-region of the specified `array`.
`ChannelBuffer` `AbstractChannelBufferFactory.getBuffer(byte[] array, int offset, int length)`
`ChannelBuffer` `DirectChannelBufferFactory.getBuffer(ByteBuffer nioBuffer)`
`ChannelBuffer` `ChannelBufferFactory.getBuffer(ByteBuffer nioBuffer)` Returns a `ChannelBuffer` whose content is equal to the sub-region of the specified `nioBuffer`.
`ChannelBuffer` `HeapChannelBufferFactory.getBuffer(ByteBuffer nioBuffer)`
`ChannelBuffer` `DirectChannelBufferFactory.getBuffer(ByteOrder order, byte[] array, int offset, int length)`
`ChannelBuffer` `ChannelBufferFactory.getBuffer(ByteOrder endianness, byte[] array, int offset, int length)` Returns a `ChannelBuffer` whose content is equal to the sub-region of the specified `array`.
`ChannelBuffer` `HeapChannelBufferFactory.getBuffer(ByteOrder order, byte[] array, int offset, int length)`
`ChannelBuffer` `DirectChannelBufferFactory.getBuffer(ByteOrder order, int capacity)`
`ChannelBuffer` `ChannelBufferFactory.getBuffer(ByteOrder endianness, int capacity)` Returns a `ChannelBuffer` with the specified `endianness` and `capacity`.
`ChannelBuffer` `HeapChannelBufferFactory.getBuffer(ByteOrder order, int capacity)`
`ChannelBuffer` `ChannelBufferFactory.getBuffer(int capacity)` Returns a `ChannelBuffer` with the specified `capacity`.
`ChannelBuffer` `AbstractChannelBufferFactory.getBuffer(int capacity)`
`ChannelBuffer` `AbstractChannelBuffer.readBytes(ChannelBufferIndexFinder endIndexFinder)` Deprecated.
`ChannelBuffer` `ChannelBuffer.readBytes(ChannelBufferIndexFinder indexFinder)` Deprecated. Use `bytesBefore(ChannelBufferIndexFinder)` and `readBytes(int)` instead.
`ChannelBuffer` `AbstractChannelBuffer.readBytes(int length)`
`ChannelBuffer` `ChannelBuffer.readBytes(int length)` 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`).
`ChannelBuffer` `AbstractChannelBuffer.readSlice(ChannelBufferIndexFinder endIndexFinder)` Deprecated.
`ChannelBuffer` `ChannelBuffer.readSlice(ChannelBufferIndexFinder indexFinder)` Deprecated. Use `bytesBefore(ChannelBufferIndexFinder)` and `readSlice(int)` instead.
`ChannelBuffer` `AbstractChannelBuffer.readSlice(int length)`
`ChannelBuffer` `ChannelBuffer.readSlice(int length)` 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`).
`ChannelBuffer` `AbstractChannelBuffer.slice()`
`ChannelBuffer` `ChannelBuffer.slice()` Returns a slice of this buffer's readable bytes.
`ChannelBuffer` `ChannelBuffer.slice(int index, int length)` Returns a slice of this buffer's sub-region.
`ChannelBuffer` `ReadOnlyChannelBuffer.slice(int index, int length)`
`ChannelBuffer` `SlicedChannelBuffer.slice(int index, int length)`
`ChannelBuffer` `DuplicatedChannelBuffer.slice(int index, int length)`
`ChannelBuffer` `HeapChannelBuffer.slice(int index, int length)`
`ChannelBuffer` `DynamicChannelBuffer.slice(int index, int length)`
`ChannelBuffer` `CompositeChannelBuffer.slice(int index, int length)`
`ChannelBuffer` `ByteBufferBackedChannelBuffer.slice(int index, int length)`
`ChannelBuffer` `TruncatedChannelBuffer.slice(int index, int length)`
`static ChannelBuffer` `ChannelBuffers.unmodifiableBuffer(ChannelBuffer buffer)` Creates a read-only buffer which disallows any modification operations on the specified `buffer`.
`ChannelBuffer` `ReadOnlyChannelBuffer.unwrap()`
`ChannelBuffer` `SlicedChannelBuffer.unwrap()`
`ChannelBuffer` `DuplicatedChannelBuffer.unwrap()`
`ChannelBuffer` `WrappedChannelBuffer.unwrap()` Returns this buffer's parent that this buffer is wrapping.
`ChannelBuffer` `TruncatedChannelBuffer.unwrap()`
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(byte[]... arrays)` Creates a new big-endian composite buffer which wraps the specified arrays without copying them.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(byte[] array)` Creates a new big-endian buffer which wraps the specified `array`.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(byte[] array, int offset, int length)` Creates a new big-endian buffer which wraps the sub-region of the specified `array`.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(ByteBuffer... buffers)` Creates a new composite buffer which wraps the slices of the specified NIO buffers without copying them.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(ByteBuffer buffer)` Creates a new buffer which wraps the specified NIO buffer's current slice.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(ByteOrder endianness, byte[]... arrays)` Creates a new composite buffer which wraps the specified arrays without copying them.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(ByteOrder endianness, byte[] array)` Creates a new buffer which wraps the specified `array` with the specified `endianness`.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(ByteOrder endianness, byte[] array, int offset, int length)` Creates a new buffer which wraps the sub-region of the specified `array` with the specified `endianness`.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(ChannelBuffer... buffers)` Creates a new composite buffer which wraps the readable bytes of the specified buffers without copying them.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(ChannelBuffer buffer)` Creates a new buffer which wraps the specified buffer's readable bytes.

Methods in org.jboss.netty.buffer that return types with arguments of type ChannelBuffer
`List<ChannelBuffer>` `CompositeChannelBuffer.decompose(int index, int length)` Same with `CompositeChannelBuffer.slice(int, int)` except that this method returns a list.

Methods in org.jboss.netty.buffer with parameters of type ChannelBuffer
`static int` `ChannelBuffers.compare(ChannelBuffer bufferA, ChannelBuffer bufferB)` Compares the two specified buffers as described in `compareTo(ChannelBuffer)`.
`int` `AbstractChannelBuffer.compareTo(ChannelBuffer that)`
`int` `ChannelBuffer.compareTo(ChannelBuffer buffer)` Compares the content of the specified buffer to the content of this buffer.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ChannelBuffer... buffers)` Creates a new buffer whose content is a merged copy of the specified `buffers`' readable bytes.
`static ChannelBuffer` `ChannelBuffers.copiedBuffer(ChannelBuffer buffer)` Creates a new buffer whose content is a copy of the specified `buffer`'s readable bytes.
`static boolean` `ChannelBuffers.equals(ChannelBuffer bufferA, ChannelBuffer bufferB)` Returns `true` if and only if the two specified buffers are identical to each other as described in `ChannelBuffer#equals(Object)`.
`boolean` `ChannelBufferIndexFinder.find(ChannelBuffer buffer, int guessedIndex)` Returns `true` if and only if the data is found at the specified `guessedIndex` of the specified `buffer`.
`void` `AbstractChannelBuffer.getBytes(int index, ChannelBuffer dst)`
`void` `ChannelBuffer.getBytes(int index, ChannelBuffer dst)` Transfers this buffer's data to the specified destination starting at the specified absolute `index` until the destination becomes non-writable.
`void` `AbstractChannelBuffer.getBytes(int index, ChannelBuffer dst, int length)`
`void` `ChannelBuffer.getBytes(int index, ChannelBuffer dst, int length)` Transfers this buffer's data to the specified destination starting at the specified absolute `index`.
`void` `ChannelBuffer.getBytes(int index, ChannelBuffer dst, int dstIndex, int length)` Transfers this buffer's data to the specified destination starting at the specified absolute `index`.
`void` `ReadOnlyChannelBuffer.getBytes(int index, ChannelBuffer dst, int dstIndex, int length)`
`void` `SlicedChannelBuffer.getBytes(int index, ChannelBuffer dst, int dstIndex, int length)`
`void` `DuplicatedChannelBuffer.getBytes(int index, ChannelBuffer dst, int dstIndex, int length)`
`void` `HeapChannelBuffer.getBytes(int index, ChannelBuffer dst, int dstIndex, int length)`
`void` `DynamicChannelBuffer.getBytes(int index, ChannelBuffer dst, int dstIndex, int length)`
`void` `CompositeChannelBuffer.getBytes(int index, ChannelBuffer dst, int dstIndex, int length)`
`void` `ByteBufferBackedChannelBuffer.getBytes(int index, ChannelBuffer dst, int dstIndex, int length)`
`void` `TruncatedChannelBuffer.getBytes(int index, ChannelBuffer dst, int dstIndex, int length)`
`static int` `ChannelBuffers.hashCode(ChannelBuffer buffer)` Calculates the hash code of the specified buffer.
`static String` `ChannelBuffers.hexDump(ChannelBuffer buffer)` Returns a hex dump of the specified buffer's readable bytes.
`static String` `ChannelBuffers.hexDump(ChannelBuffer buffer, int fromIndex, int length)` Returns a hex dump of the specified buffer's sub-region.
`static int` `ChannelBuffers.indexOf(ChannelBuffer buffer, int fromIndex, int toIndex, byte value)` The default implementation of `indexOf(int, int, byte)`.
`static int` `ChannelBuffers.indexOf(ChannelBuffer buffer, int fromIndex, int toIndex, ChannelBufferIndexFinder indexFinder)` The default implementation of `indexOf(int, int, ChannelBufferIndexFinder)`.
`void` `AbstractChannelBuffer.readBytes(ChannelBuffer dst)`
`void` `ChannelBuffer.readBytes(ChannelBuffer dst)` 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.
`void` `AbstractChannelBuffer.readBytes(ChannelBuffer dst, int length)`
`void` `ChannelBuffer.readBytes(ChannelBuffer dst, int length)` 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`).
`void` `AbstractChannelBuffer.readBytes(ChannelBuffer dst, int dstIndex, int length)`
`void` `ChannelBuffer.readBytes(ChannelBuffer dst, int dstIndex, int length)` 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`).
`void` `AbstractChannelBuffer.setBytes(int index, ChannelBuffer src)`
`void` `ChannelBuffer.setBytes(int index, ChannelBuffer src)` Transfers the specified source buffer's data to this buffer starting at the specified absolute `index` until the source buffer becomes unreadable.
`void` `AbstractChannelBuffer.setBytes(int index, ChannelBuffer src, int length)`
`void` `ChannelBuffer.setBytes(int index, ChannelBuffer src, int length)` Transfers the specified source buffer's data to this buffer starting at the specified absolute `index`.
`void` `ChannelBuffer.setBytes(int index, ChannelBuffer src, int srcIndex, int length)` Transfers the specified source buffer's data to this buffer starting at the specified absolute `index`.
`void` `ReadOnlyChannelBuffer.setBytes(int index, ChannelBuffer src, int srcIndex, int length)`
`void` `SlicedChannelBuffer.setBytes(int index, ChannelBuffer src, int srcIndex, int length)`
`void` `DuplicatedChannelBuffer.setBytes(int index, ChannelBuffer src, int srcIndex, int length)`
`void` `HeapChannelBuffer.setBytes(int index, ChannelBuffer src, int srcIndex, int length)`
`void` `DynamicChannelBuffer.setBytes(int index, ChannelBuffer src, int srcIndex, int length)`
`void` `CompositeChannelBuffer.setBytes(int index, ChannelBuffer src, int srcIndex, int length)`
`void` `ByteBufferBackedChannelBuffer.setBytes(int index, ChannelBuffer src, int srcIndex, int length)`
`void` `TruncatedChannelBuffer.setBytes(int index, ChannelBuffer src, int srcIndex, int length)`
`static ChannelBuffer` `ChannelBuffers.unmodifiableBuffer(ChannelBuffer buffer)` Creates a read-only buffer which disallows any modification operations on the specified `buffer`.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(ChannelBuffer... buffers)` Creates a new composite buffer which wraps the readable bytes of the specified buffers without copying them.
`static ChannelBuffer` `ChannelBuffers.wrappedBuffer(ChannelBuffer buffer)` Creates a new buffer which wraps the specified buffer's readable bytes.
`void` `AbstractChannelBuffer.writeBytes(ChannelBuffer src)`
`void` `ChannelBuffer.writeBytes(ChannelBuffer src)` 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.
`void` `AbstractChannelBuffer.writeBytes(ChannelBuffer src, int length)`
`void` `ChannelBuffer.writeBytes(ChannelBuffer src, int length)` 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`).
`void` `AbstractChannelBuffer.writeBytes(ChannelBuffer src, int srcIndex, int length)`
`void` `ChannelBuffer.writeBytes(ChannelBuffer src, int srcIndex, int length)` 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`).
`void` `DynamicChannelBuffer.writeBytes(ChannelBuffer src, int srcIndex, int length)`

Constructors in org.jboss.netty.buffer with parameters of type ChannelBuffer
`ChannelBufferInputStream(ChannelBuffer buffer)` Creates a new stream which reads data from the specified `buffer` starting at the current `readerIndex` and ending at the current `writerIndex`.
`ChannelBufferInputStream(ChannelBuffer buffer, int length)` Creates a new stream which reads data from the specified `buffer` starting at the current `readerIndex` and ending at `readerIndex + length`.
`ChannelBufferOutputStream(ChannelBuffer buffer)` Creates a new stream which writes data to the specified `buffer`.
`DuplicatedChannelBuffer(ChannelBuffer buffer)`
`ReadOnlyChannelBuffer(ChannelBuffer buffer)`
`SlicedChannelBuffer(ChannelBuffer buffer, int index, int length)`
`TruncatedChannelBuffer(ChannelBuffer buffer, int length)`

Constructor parameters in org.jboss.netty.buffer with type arguments of type ChannelBuffer
`CompositeChannelBuffer(ByteOrder endianness, List<ChannelBuffer> buffers)`

Uses of ChannelBuffer in org.jboss.netty.handler.codec.base64

Methods in org.jboss.netty.handler.codec.base64 that return ChannelBuffer
`static ChannelBuffer` `Base64.decode(ChannelBuffer src)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, int off, int len)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, int off, int len, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, boolean breakLines)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, boolean breakLines, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, boolean breakLines)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, boolean breakLines, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)`

Methods in org.jboss.netty.handler.codec.base64 with parameters of type ChannelBuffer
`static ChannelBuffer` `Base64.decode(ChannelBuffer src)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, int off, int len)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, int off, int len, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.decode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, boolean breakLines)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, boolean breakLines, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, boolean breakLines)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, boolean breakLines, ChannelBufferFactory bufferFactory)`
`static ChannelBuffer` `Base64.encode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)`

Uses of ChannelBuffer in org.jboss.netty.handler.codec.frame

Methods in org.jboss.netty.handler.codec.frame that return ChannelBuffer
`protected ChannelBuffer` `LengthFieldBasedFrameDecoder.extractFrame(ChannelBuffer buffer, int index, int length)` Extract the sub-region of the specified buffer.
`static ChannelBuffer[]` `Delimiters.lineDelimiter()` Returns `CR ('\r')` and `LF ('\n')` delimiters, which could be used for text-based line protocols.
`static ChannelBuffer[]` `Delimiters.nulDelimiter()` Returns a `NUL (0x00)` delimiter, which could be used for Flash XML socket or any similar protocols.

Methods in org.jboss.netty.handler.codec.frame with parameters of type ChannelBuffer
`protected Object` `DelimiterBasedFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
`protected Object` `FixedLengthFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
`protected Object` `LengthFieldBasedFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
`protected abstract Object` `FrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)` Decodes the received packets so far into a frame.
`protected Object` `FrameDecoder.decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)` Decodes the received data so far into a frame when the channel is disconnected.
`protected ChannelBuffer` `LengthFieldBasedFrameDecoder.extractFrame(ChannelBuffer buffer, int index, int length)` Extract the sub-region of the specified buffer.

Constructors in org.jboss.netty.handler.codec.frame with parameters of type ChannelBuffer
`DelimiterBasedFrameDecoder(int maxFrameLength, boolean stripDelimiter, ChannelBuffer... delimiters)` Creates a new instance.
`DelimiterBasedFrameDecoder(int maxFrameLength, boolean stripDelimiter, ChannelBuffer delimiter)` Creates a new instance.
`DelimiterBasedFrameDecoder(int maxFrameLength, ChannelBuffer... delimiters)` Creates a new instance.
`DelimiterBasedFrameDecoder(int maxFrameLength, ChannelBuffer delimiter)` Creates a new instance.

Uses of ChannelBuffer in org.jboss.netty.handler.codec.http

Methods in org.jboss.netty.handler.codec.http that return ChannelBuffer
`ChannelBuffer` `HttpMessage.getContent()` Returns the content of this message.
`ChannelBuffer` `DefaultHttpMessage.getContent()`
`ChannelBuffer` `HttpChunk.getContent()` Returns the content of this chunk.
`ChannelBuffer` `DefaultHttpChunk.getContent()`
`ChannelBuffer` `DefaultHttpChunkTrailer.getContent()`

Methods in org.jboss.netty.handler.codec.http that return types with arguments of type ChannelBuffer
`protected DecoderEmbedder<ChannelBuffer>` `HttpContentDecompressor.newContentDecoder(String contentEncoding)`
`protected abstract DecoderEmbedder<ChannelBuffer>` `HttpContentDecoder.newContentDecoder(String contentEncoding)` Returns a new `DecoderEmbedder` that decodes the HTTP message content encoded in the specified `contentEncoding`.
`protected abstract EncoderEmbedder<ChannelBuffer>` `HttpContentEncoder.newContentEncoder(String acceptEncoding)` Returns a new `EncoderEmbedder` that encodes the HTTP message content.
`protected EncoderEmbedder<ChannelBuffer>` `HttpContentCompressor.newContentEncoder(String acceptEncoding)`

Methods in org.jboss.netty.handler.codec.http with parameters of type ChannelBuffer
`protected Object` `HttpMessageDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)`
`protected void` `HttpRequestEncoder.encodeInitialLine(ChannelBuffer buf, HttpMessage message)`
`protected abstract void` `HttpMessageEncoder.encodeInitialLine(ChannelBuffer buf, HttpMessage message)`
`protected void` `HttpResponseEncoder.encodeInitialLine(ChannelBuffer buf, HttpMessage message)`
`void` `HttpMessage.setContent(ChannelBuffer content)` Sets the content of this message.
`void` `DefaultHttpMessage.setContent(ChannelBuffer content)`
`void` `HttpChunk.setContent(ChannelBuffer content)` Sets the content of this chunk.
`void` `DefaultHttpChunk.setContent(ChannelBuffer content)`
`void` `DefaultHttpChunkTrailer.setContent(ChannelBuffer content)`

Constructors in org.jboss.netty.handler.codec.http with parameters of type ChannelBuffer
`DefaultHttpChunk(ChannelBuffer content)` Creates a new instance with the specified chunk content.

Uses of ChannelBuffer in org.jboss.netty.handler.codec.http.websocket

Methods in org.jboss.netty.handler.codec.http.websocket that return ChannelBuffer
`ChannelBuffer` `WebSocketFrame.getBinaryData()` Returns the content of this frame as-is, with no UTF-8 decoding.
`ChannelBuffer` `DefaultWebSocketFrame.getBinaryData()`

Methods in org.jboss.netty.handler.codec.http.websocket with parameters of type ChannelBuffer
`protected Object` `WebSocketFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)`
`void` `WebSocketFrame.setData(int type, ChannelBuffer binaryData)` Sets the type and the content of this frame.
`void` `DefaultWebSocketFrame.setData(int type, ChannelBuffer binaryData)`

Constructors in org.jboss.netty.handler.codec.http.websocket with parameters of type ChannelBuffer
`DefaultWebSocketFrame(int type, ChannelBuffer binaryData)` Creates a new frame with the specified frame type and the specified data.

Uses of ChannelBuffer in org.jboss.netty.handler.codec.protobuf

Methods in org.jboss.netty.handler.codec.protobuf with parameters of type ChannelBuffer
`protected Object` `ProtobufVarint32FrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`

Uses of ChannelBuffer in org.jboss.netty.handler.codec.replay

Methods in org.jboss.netty.handler.codec.replay that return ChannelBuffer
`protected ChannelBuffer` `ReplayingDecoder.internalBuffer()` Returns the internal cumulative buffer of this decoder.

Methods in org.jboss.netty.handler.codec.replay with parameters of type ChannelBuffer
`protected abstract Object` `ReplayingDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)` Decodes the received packets so far into a frame.
`protected Object` `ReplayingDecoder.decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)` Decodes the received data so far into a frame when the channel is disconnected.

Uses of ChannelBuffer in org.jboss.netty.handler.codec.rtsp

Methods in org.jboss.netty.handler.codec.rtsp with parameters of type ChannelBuffer
`protected Object` `RtspMessageDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)`
`protected void` `RtspRequestEncoder.encodeInitialLine(ChannelBuffer buf, HttpMessage message)`
`protected void` `RtspResponseEncoder.encodeInitialLine(ChannelBuffer buf, HttpMessage message)`

Uses of ChannelBuffer in org.jboss.netty.handler.codec.serialization

Methods in org.jboss.netty.handler.codec.serialization that return ChannelBuffer
`protected ChannelBuffer` `ObjectDecoder.extractFrame(ChannelBuffer buffer, int index, int length)`

Methods in org.jboss.netty.handler.codec.serialization with parameters of type ChannelBuffer
`protected Object` `ObjectDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
`protected Object` `CompatibleObjectDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoderState state)` Deprecated.
`protected Object` `CompatibleObjectDecoder.decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoderState state)` Deprecated.
`protected ChannelBuffer` `ObjectDecoder.extractFrame(ChannelBuffer buffer, int index, int length)`

Uses of ChannelBuffer in org.jboss.netty.handler.ssl

Methods in org.jboss.netty.handler.ssl with parameters of type ChannelBuffer
`protected Object` `SslHandler.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`

Copyright © 2008-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.