Interface AsyncDecoder.ByteSink
- Enclosing interface:
AsyncDecoder
public static interface AsyncDecoder.ByteSink
A sink of bytes for writing the decompressed stream as
ByteBuffer chunks.-
Method Summary
Modifier and TypeMethodDescriptionReturns aByteBufferwith available space for writing the decompressed stream.default voidpushBytes(ByteBuffer src) Pushessrc.remaining()bytes from the given source buffer to this sink.
-
Method Details
-
currentSink
ByteBuffer currentSink()Returns aByteBufferwith available space for writing the decompressed stream. -
pushBytes
Pushessrc.remaining()bytes from the given source buffer to this sink.
-