Uses of Interface
io.netty5.util.ByteProcessor
-
Packages that use ByteProcessor Package Description io.netty5.buffer.api IncubatingBuffer
API, as a proposed alternative toByteBuf
.io.netty5.util Utility classes used across multiple packages. -
-
Uses of ByteProcessor in io.netty5.buffer.api
Methods in io.netty5.buffer.api with parameters of type ByteProcessor Modifier and Type Method Description default int
ByteCursor. process(ByteProcessor processor)
Process the remaining bytes in this iterator with the givenByteProcessor
. -
Uses of ByteProcessor in io.netty5.util
Classes in io.netty5.util that implement ByteProcessor Modifier and Type Class Description static class
ByteProcessor.IndexNotOfProcessor
AByteProcessor
which finds the first appearance which is not of a specific byte.static class
ByteProcessor.IndexOfProcessor
AByteProcessor
which finds the first appearance of a specific byte.Fields in io.netty5.util declared as ByteProcessor Modifier and Type Field 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 aCR ('\r')
.static ByteProcessor
ByteProcessor. FIND_CRLF
Aborts on aCR ('\r')
or aLF ('\n')
.static ByteProcessor
ByteProcessor. FIND_LF
Aborts on aLF ('\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 aCR ('\r')
nor aLF ('\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 aNUL (0x00)
.static ByteProcessor
ByteProcessor. FIND_SEMI_COLON
Aborts on a semicolon(';')
.Methods in io.netty5.util with parameters of type ByteProcessor Modifier and Type Method Description int
AsciiString. forEachByte(int index, int length, ByteProcessor visitor)
Iterates over the specified area of this buffer with the specifiedprocessor
in ascending order.int
AsciiString. forEachByte(ByteProcessor visitor)
Iterates over the readable bytes of this buffer with the specifiedprocessor
in ascending order.int
AsciiString. forEachByteDesc(int index, int length, ByteProcessor visitor)
Iterates over the specified area of this buffer with the specifiedprocessor
in descending order.int
AsciiString. forEachByteDesc(ByteProcessor visitor)
Iterates over the readable bytes of this buffer with the specifiedprocessor
in descending order.
-