public static interface DataBufferUtils.Matcher
match(DataBuffer)
method.match(DataBuffer)
Modifier and Type | Method and Description |
---|---|
byte[] |
delimiter()
Return the delimiter from the last invocation of
match(DataBuffer) . |
int |
match(DataBuffer dataBuffer)
Find the first matching delimiter and return the index of the last
byte of the delimiter, or
-1 if not found. |
void |
reset()
Reset the state of this matcher.
|
int match(DataBuffer dataBuffer)
-1
if not found.byte[] delimiter()
match(DataBuffer)
.void reset()