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 SnappyWriteFormattrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article