GzipCompressor

zio.compress.GzipCompressor
See theGzipCompressor companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(deflateLevel: Option[DeflateCompressionLevel], deflateStrategy: Option[DeflateStrategy], bufferSize: Int): GzipCompressor

A Compressor for Gzip, based on ZIO's native support (which uses the JVM standard library).

A Compressor for Gzip, based on ZIO's native support (which uses the JVM standard library).

Value parameters

bufferSize

the maximum chunk size of the outgoing ZStream. Defaults to 64KiB.

deflateLevel

the deflate compression level

deflateStrategy

a deflate compression strategy

Attributes

def compress: ZPipeline[Any, Nothing, Byte, Byte]

Attributes