← ZIO Streams Compress docs

Zip4JUnarchiver

zio.compress.Zip4JUnarchiver
See theZip4JUnarchiver companion object
final class Zip4JUnarchiver extends Unarchiver[Option, LocalFileHeader]

Attributes

Companion
object
Source
Zip4J.scala
Graph
Supertypes
trait Unarchiver[Option, LocalFileHeader]
trait Serializable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def unarchive(implicit trace: Trace): ZPipeline[Any, Throwable, Byte, (ArchiveEntry[Option, LocalFileHeader], ZStream[Any, IOException, Byte])]

Make a pipeline that accepts the byte stream of an archive, and produces a stream of archive entries and their content.

Make a pipeline that accepts the byte stream of an archive, and produces a stream of archive entries and their content.

⚠️Note: the entry's content must be fully read before the next archive entry is emitted. See the project's README for the consequences, tips and workarounds.

Attributes

Definition Classes
Source
Zip4J.scala

Inherited methods

def list(implicit trace: Trace): ZPipeline[Any, Throwable, Byte, ArchiveEntry[Some, LocalFileHeader]]

Make a pipeline that accepts the byte stream of an archive, and produces a stream of archive entries with accurate uncompressed size.

Make a pipeline that accepts the byte stream of an archive, and produces a stream of archive entries with accurate uncompressed size.

Attributes

Inherited from:
Unarchiver
Source
Unarchiver.scala