程序包 | 说明 |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
限定符和类型 | 字段和说明 |
---|---|
static ByteBufProcessor |
ByteBufProcessor.FIND_CR
Aborts on a
CR ('\r') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_CRLF
Aborts on a
CR ('\r') or a LF ('\n') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_LF
Aborts on a
LF ('\n') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_LINEAR_WHITESPACE
Aborts on a linear whitespace (a (
' ' or a '\t' ). |
static ByteBufProcessor |
ByteBufProcessor.FIND_NON_CR
Aborts on a non-
CR ('\r') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_NON_CRLF
Aborts on a byte which is neither a
CR ('\r') nor a LF ('\n') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_NON_LF
Aborts on a non-
LF ('\n') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_NON_LINEAR_WHITESPACE
Aborts on a byte which is not a linear whitespace (neither
' ' nor '\t' ). |
static ByteBufProcessor |
ByteBufProcessor.FIND_NON_NUL
Aborts on a non-
NUL (0x00) . |
static ByteBufProcessor |
ByteBufProcessor.FIND_NUL
Aborts on a
NUL (0x00) . |
限定符和类型 | 方法和说明 |
---|---|
int |
SwappedByteBuf.forEachByte(ByteBufProcessor processor) |
int |
EmptyByteBuf.forEachByte(ByteBufProcessor processor) |
abstract int |
ByteBuf.forEachByte(ByteBufProcessor processor)
Iterates over the readable bytes of this buffer with the specified
processor in ascending order. |
int |
AbstractByteBuf.forEachByte(ByteBufProcessor processor) |
int |
SwappedByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
SlicedByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor)
已过时。
|
int |
ReadOnlyByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor)
已过时。
|
int |
EmptyByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
DuplicatedByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor)
已过时。
|
abstract int |
ByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor)
Iterates over the specified area of this buffer with the specified
processor in ascending order. |
int |
AbstractByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
SwappedByteBuf.forEachByteDesc(ByteBufProcessor processor) |
int |
EmptyByteBuf.forEachByteDesc(ByteBufProcessor processor) |
abstract int |
ByteBuf.forEachByteDesc(ByteBufProcessor processor)
Iterates over the readable bytes of this buffer with the specified
processor in descending order. |
int |
AbstractByteBuf.forEachByteDesc(ByteBufProcessor processor) |
int |
SwappedByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
int |
SlicedByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor)
已过时。
|
int |
ReadOnlyByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor)
已过时。
|
int |
EmptyByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
int |
DuplicatedByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor)
已过时。
|
abstract int |
ByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor)
Iterates over the specified area of this buffer with the specified
processor in descending order. |
int |
AbstractByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |