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.buffer.search |
Utility classes for performing efficient substring search within
ByteBuf . |
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 |
---|---|
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 |
EmptyByteBuf.forEachByte(ByteProcessor processor) |
int |
SwappedByteBuf.forEachByte(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 |
DuplicatedByteBuf.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 |
SwappedByteBuf.forEachByte(int index,
int length,
ByteProcessor processor)
Deprecated.
|
protected int |
CompositeByteBuf.forEachByteAsc0(int start,
int end,
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 |
EmptyByteBuf.forEachByteDesc(ByteProcessor processor) |
int |
SwappedByteBuf.forEachByteDesc(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) |
int |
DuplicatedByteBuf.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 |
SwappedByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor)
Deprecated.
|
protected int |
CompositeByteBuf.forEachByteDesc0(int rStart,
int rEnd,
ByteProcessor processor) |
Modifier and Type | Interface and Description |
---|---|
interface |
MultiSearchProcessor
Interface for
SearchProcessor that implements simultaneous search for multiple strings. |
interface |
SearchProcessor
Interface for
ByteProcessor that implements string search. |
Modifier and Type | Class and Description |
---|---|
static class |
AhoCorasicSearchProcessorFactory.Processor |
static class |
BitapSearchProcessorFactory.Processor |
static class |
KmpSearchProcessorFactory.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_ASCII_SPACE
Aborts on a ascii space character (
' ' ). |
static ByteProcessor |
ByteProcessor.FIND_COMMA
Aborts on a comma
(',') . |
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 semicolon
(';') . |
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–2024 The Netty Project. All rights reserved.