← ZIO Streams Compress docs

Framed

zio.compress.SnappyWriteFormat.Framed
final case class Framed(blockSize: Int = ..., minCompressionRatio: Double = ...) extends SnappyWriteFormat

Write snappy in the framed format.

Value parameters

blockSize

the number of bytes from the input that are compressed together. Higher block sizes lead to higher compression ratios. Defaults to 64 KiB. Must be in [1, 64 KiB].

minCompressionRatio

Defines the minimum compression ratio (compressedLength / rawLength) that must be achieved to write the compressed data. Defaults to 0.85. Must be in (0.0, 1.0].

Attributes

See also
Source
SnappyWriteFormat.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product