Lz4Compressor.setOutputSink

void setOutputSink(OutputSink sink)

Set the output sink that will receive compressed bytes.

This must be called before write, flush, or finish.

Parameters

sinkDelegate that will be invoked with produced output chunks.