create

open fun create(compressionLevel: Int, bs: ScatterGatherBackingStore): StreamCompressor

Create a stream compressor with the given compression level.

Return

A stream compressor

Parameters

compressionLevel

The Deflater compression level

bs

The ScatterGatherBackingStore to receive output


Create a stream compressor with the default compression level.

Return

A stream compressor

Parameters

bs

The ScatterGatherBackingStore to receive output