| Modifier and Type | Method and Description |
|---|---|
static ParseResult |
create(boolean isComplete,
ByteBuffer remainderBuffer)
Create a ParseResult object.
|
ByteBuffer |
getRemainder()
Get the parsing remainder
ByteBuffer. |
boolean |
isComplete()
Returns true, if parsing was completed, or false if more data is expected.
|
public static ParseResult create(boolean isComplete, ByteBuffer remainderBuffer)
isComplete - was parsing completed?remainderBuffer - the remainder.public ByteBuffer getRemainder()
ByteBuffer. May not be null only in case, when parsing was completed, but some data
is still ready for parsing.ByteBuffer. May not be null only in case, when parsing was completed, but some
data is still ready for parsing.public boolean isComplete()
Copyright © 2012-2013. All Rights Reserved.