Package | Description |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
io.netty.util |
Utility classes used across multiple packages.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ByteBufProcessor
Deprecated.
Use
ByteProcessor . |
Modifier and Type | Method and Description |
---|---|
int |
SwappedByteBuf.forEachByte(ByteProcessor processor)
Deprecated.
|
int |
EmptyByteBuf.forEachByte(ByteProcessor processor) |
abstract int |
ByteBuf.forEachByte(ByteProcessor processor)
Iterates over the readable bytes of this buffer with the specified
processor in ascending order. |
int |
AbstractByteBuf.forEachByte(ByteProcessor processor) |
int |
SwappedByteBuf.forEachByte(int index,
int length,
ByteProcessor processor)
Deprecated.
|
int |
ReadOnlyByteBuf.forEachByte(int index,
int length,
ByteProcessor processor)
Deprecated.
|
int |
EmptyByteBuf.forEachByte(int index,
int length,
ByteProcessor processor) |
int |
DuplicatedByteBuf.forEachByte(int index,
int length,
ByteProcessor processor)
Deprecated.
|
abstract int |
ByteBuf.forEachByte(int index,
int length,
ByteProcessor processor)
Iterates over the specified area of this buffer with the specified
processor in ascending order. |
int |
AbstractByteBuf.forEachByte(int index,
int length,
ByteProcessor processor) |
int |
SwappedByteBuf.forEachByteDesc(ByteProcessor processor)
Deprecated.
|
int |
EmptyByteBuf.forEachByteDesc(ByteProcessor processor) |
abstract int |
ByteBuf.forEachByteDesc(ByteProcessor processor)
Iterates over the readable bytes of this buffer with the specified
processor in descending order. |
int |
AbstractByteBuf.forEachByteDesc(ByteProcessor processor) |
int |
SwappedByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor)
Deprecated.
|
int |
ReadOnlyByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor)
Deprecated.
|
int |
EmptyByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor) |
int |
DuplicatedByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor)
Deprecated.
|
abstract int |
ByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor)
Iterates over the specified area of this buffer with the specified
processor in descending order. |
int |
AbstractByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor) |
Modifier and Type | Class and Description |
---|---|
static class |
ByteProcessor.IndexNotOfProcessor
A
ByteProcessor which finds the first appearance which is not of a specific byte. |
static class |
ByteProcessor.IndexOfProcessor
A
ByteProcessor which finds the first appearance of a specific byte. |
Modifier and Type | Field and Description |
---|---|
static ByteProcessor |
ByteProcessor.FIND_CR
Aborts on a
CR ('\r') . |
static ByteProcessor |
ByteProcessor.FIND_CRLF
Aborts on a
CR ('\r') or a LF ('\n') . |
static ByteProcessor |
ByteProcessor.FIND_LF
Aborts on a
LF ('\n') . |
static ByteProcessor |
ByteProcessor.FIND_LINEAR_WHITESPACE
Aborts on a linear whitespace (a (
' ' or a '\t' ). |
static ByteProcessor |
ByteProcessor.FIND_NON_CR
Aborts on a non-
CR ('\r') . |
static ByteProcessor |
ByteProcessor.FIND_NON_CRLF
Aborts on a byte which is neither a
CR ('\r') nor a LF ('\n') . |
static ByteProcessor |
ByteProcessor.FIND_NON_LF
Aborts on a non-
LF ('\n') . |
static ByteProcessor |
ByteProcessor.FIND_NON_LINEAR_WHITESPACE
Aborts on a byte which is not a linear whitespace (neither
' ' nor '\t' ). |
static ByteProcessor |
ByteProcessor.FIND_NON_NUL
Aborts on a non-
NUL (0x00) . |
static ByteProcessor |
ByteProcessor.FIND_NUL
Aborts on a
NUL (0x00) . |
static ByteProcessor |
ByteProcessor.FIND_SEMI_COLON
Aborts on a
CR (';') . |
Modifier and Type | Method and Description |
---|---|
int |
AsciiString.forEachByte(ByteProcessor visitor)
Iterates over the readable bytes of this buffer with the specified
processor in ascending order. |
int |
AsciiString.forEachByte(int index,
int length,
ByteProcessor visitor)
Iterates over the specified area of this buffer with the specified
processor in ascending order. |
int |
AsciiString.forEachByteDesc(ByteProcessor visitor)
Iterates over the readable bytes of this buffer with the specified
processor in descending order. |
int |
AsciiString.forEachByteDesc(int index,
int length,
ByteProcessor visitor)
Iterates over the specified area of this buffer with the specified
processor in descending order. |
Copyright © 2008–2017 The Netty Project. All rights reserved.