- All Known Implementing Classes:
ChannelBrotliSink
public interface BrotliSink
Sink for compressed Brotli output produced by
BrotliEncoder or
BrotliWriter.
The buffer is valid only during the callback.
- Author:
- Chris Burdess
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompressed(ByteBuffer data) Receives a chunk of compressed bytes.
-
Method Details
-
compressed
Receives a chunk of compressed bytes.- Parameters:
data- compressed bytes in read mode (valid only during this call)- Throws:
BrotliException- if the sink aborts
-