DeflateParams

fs2.compression.DeflateParams
See theDeflateParams companion object
sealed trait DeflateParams

Deflate algorithm parameters.

Attributes

Companion
object
Source
DeflateParams.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

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.

Attributes

Source
DeflateParams.scala
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.

Attributes

Source
DeflateParams.scala

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.

Attributes

Source
DeflateParams.scala
val header: Header

Compression header. Defaults to ZLibParams.Header.ZLIB.

Compression header. Defaults to ZLibParams.Header.ZLIB.

Attributes

Source
DeflateParams.scala
val level: Level

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

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

Attributes

Source
DeflateParams.scala

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

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

Attributes

Source
DeflateParams.scala