koni_zip library

ZIP reader for the koni_archive ecosystem, including CBZ comic archives.

Most applications use the koni_archive facade, which registers ZipFormat automatically. Depend on this package directly only to build a custom format registry.

Supported: end-of-central-directory scan (comments, self-extracting prefixes), stored + deflated entries with CRC-32 verification, data-descriptor archives, UTF-8 and CP437 filenames, DOS + extended (UT) timestamps, and decryption of traditional PKWARE ("zipcrypto") and WinZip AES entries via ArchiveReadOptions.password (P3-2). Detected with typed errors: other compression methods, ZIP strong encryption (SES), ZIP64 beyond 2^53−1, multi-volume archives. See doc/ for the feature matrix.

Classes

ZipFormat
The ZIP archive format (including CBZ comic archives). Register into an ArchiveFormatRegistry (the koni_archive facade does this for you).
ZipReader
Reader for ZIP archives (and CBZ comics). Created via ZipFormat.openReader.
ZipWriteFormat
The ZIP write format (including CBZ comic archives). Pass to Archive.create:
ZipWriter
Writer for ZIP archives (and CBZ comics). Created via ZipWriteFormat.openWriter.