DeflateParams

sealed

Deflate algorithm parameters.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract fields

val bufferSize: Int

Size of the internal buffer. Default size is 32 KB.

Size of the internal buffer. Default size is 32 KB.

val fhCrcEnabled: Boolean

A Boolean indicating whether the FLG.FHCRC bit is set. Default is false. This is provided so that the compressor can be configured to have the CRC16 check enabled. Why opt-in and not opt-out? It turned out not all clients implemented that right. More context in this issue.

A Boolean indicating whether the FLG.FHCRC bit is set. Default is false. This is provided so that the compressor can be configured to have the CRC16 check enabled. Why opt-in and not opt-out? It turned out not all clients implemented that right. More context in this issue.

Compression flush mode. Default flush mode is java.util.zip.Deflater.NO_FLUSH.

Compression flush mode. Default flush mode is java.util.zip.Deflater.NO_FLUSH.

Compression header. Defaults to ZLibParams.Header.ZLIB.

Compression header. Defaults to ZLibParams.Header.ZLIB.

Compression level. Default level is java.util.zip.Deflater.DEFAULT_COMPRESSION.

Compression level. Default level is java.util.zip.Deflater.DEFAULT_COMPRESSION.

Compression strategy. Default strategy is java.util.zip.Deflater.DEFAULT_STRATEGY.

Compression strategy. Default strategy is java.util.zip.Deflater.DEFAULT_STRATEGY.