← ZIO Streams Compress docs

Archiver

zio.compress.Archiver
See theArchiver companion object
trait Archiver[-Size <: (Option)] extends Serializable

An archiver makes pipelines that accept a stream of archive entries, and produce a byte stream of an archive.

Type parameters

Size

Either a Some when the archive entries require the uncompressed size, or Option when the archive entries do not require the uncompressed size.

Attributes

Companion
object
Source
Archiver.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def archive(implicit trace: Trace): ZPipeline[Any, Throwable, (ArchiveEntry[Size, Any], ZStream[Any, Throwable, Byte]), Byte]

Makes a pipeline that accepts a stream of archive entries, and produces a byte stream of an archive.

Makes a pipeline that accepts a stream of archive entries, and produces a byte stream of an archive.

Attributes

Source
Archiver.scala