fs2.compression

Type members

Classlikes

trait Compression[F[_]]

Provides the capability to compress/decompress using deflate and gzip.

Provides the capability to compress/decompress using deflate and gzip.

Companion
object
object Compression
Companion
class
sealed trait DeflateParams

Deflate algorithm parameters.

Deflate algorithm parameters.

Companion
object
Companion
class
case class GunzipResult[F[_]](content: Stream[F, Byte], modificationTime: Option[Instant], fileName: Option[String], comment: Option[String])

Gunzip decompression results including file properties and decompressed content stream, used as follows: stream .through(gunzipIO) .flatMap { gunzipResult => // Access properties here. gunzipResult.content }

Gunzip decompression results including file properties and decompressed content stream, used as follows: stream .through(gunzipIO) .flatMap { gunzipResult => // Access properties here. gunzipResult.content }

Value Params
comment

File comment.

content

Uncompressed content stream.

fileName

File name.

modificationTime

Modification time of compressed file.

sealed trait InflateParams

Inflate algorithm parameters.

Inflate algorithm parameters.

Companion
object
Companion
class
object ZLibParams