- 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 aByteBuffer
with available space for writing the decompressed stream.default void
pushBytes
(ByteBuffer src) Pushessrc.remaining()
bytes from the given source buffer to this sink.
-
Method Details
-
currentSink
ByteBuffer currentSink()Returns aByteBuffer
with available space for writing the decompressed stream. -
pushBytes
Pushessrc.remaining()
bytes from the given source buffer to this sink.
-