finish

abstract fun finish(onOutput: (ReadBuffer) -> Unit)

Finishes compression, flushing any buffered data. Must be called after all input has been provided.

Parameters

onOutput

Called with remaining compressed data.