Package | Description |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
Modifier and Type | Field and Description |
---|---|
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) . |
Modifier and Type | Method and Description |
---|---|
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)
Deprecated.
|
int |
ReadOnlyByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor)
Deprecated.
|
int |
EmptyByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
DuplicatedByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor)
Deprecated.
|
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)
Deprecated.
|
int |
ReadOnlyByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor)
Deprecated.
|
int |
EmptyByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
int |
DuplicatedByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor)
Deprecated.
|
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) |
Copyright © 2008–2018 The Netty Project. All rights reserved.