Package akka.stream.impl.io
Interface ByteStringParser.ParseStep<T>
-
- All Known Implementing Classes:
ByteStringParser.FinishedParser$
,DeflateDecompressorBase.DecompressorParsingLogic.Inflate
- Enclosing class:
- ByteStringParser<T>
public static interface ByteStringParser.ParseStep<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canWorkWithPartialData()
Must return true when NeedMoreData will clean buffer.void
onTruncation()
ByteStringParser.ParseResult<T>
parse(ByteStringParser.ByteReader reader)
-
-
-
Method Detail
-
canWorkWithPartialData
boolean canWorkWithPartialData()
Must return true when NeedMoreData will clean buffer. If returns false - next pulled data will be appended to existing data in buffer- Returns:
- (undocumented)
-
onTruncation
void onTruncation()
-
parse
ByteStringParser.ParseResult<T> parse(ByteStringParser.ByteReader reader)
-
-