public static interface DataBufferUtils.Matcher
match(DataBuffer)
Modifier and Type | Method and Description |
---|---|
byte[] |
delimiter()
Return the delimiter used for this matcher.
|
int |
match(DataBuffer dataBuffer)
Returns the position of the final matching delimiter byte that matches the given buffer,
or
-1 if not found. |
void |
reset()
Resets the state of this matcher.
|
int match(DataBuffer dataBuffer)
-1
if not found.dataBuffer
- the buffer in which to search for the delimiter-1
if not found.byte[] delimiter()
void reset()