Skip to main content

Module encode

Module encode 

Source
Expand description

Streaming ZIP64 encoding.

§Compatibility notes

  • The decoder rejects archives with multiple apparent end-of-central-directory records. Encoding can finish successfully and still produce an archive that ZipArchive::open rejects if bytes in a member look like a second end record. CompressionMethod::Stored copies member bytes verbatim, and the default DEFLATE encoder can also preserve those bytes in uncompressed blocks.

Structs§

EncodeLimits
Resource limits for ZipEncoder.
ZipEncoder
A streaming UTF-8 ZIP64 writer for ArchiveBuilder::builder.
ZipFileOptions
Options for one regular ZIP file.

Enums§

EncodeError
A failure while encoding ZIP records or payloads.