koni_zip 0.9.0 copy "koni_zip: ^0.9.0" to clipboard
koni_zip: ^0.9.0 copied to clipboard

ZIP reader and writer (incl. WinZip AES) for the koni_archive ecosystem, including CBZ comic archives.

koni_zip #

ZIP reader + writer for the koni_archive ecosystem, including CBZ comic archives. Pure Dart, runs everywhere Dart runs including the web (dart2js and dart2wasm).

Most applications should depend on the koni_archive facade, which registers this format automatically:

import 'package:koni_archive/io.dart';

final archive = await openArchiveFile('volume01.cbz'); // auto-detected
final page = archive.glob('*.png').first;
await for (final chunk in archive.openRead(page)) {
  // bounded-memory streaming; CRC-32 verified by default
}

Stored and deflated entries stream end-to-end with CRC-32 verification, ZIP64 included; CBZ works, validated against a real-world corpus via reference-tool manifests. Password-protected archives, both traditional PKWARE ("zipcrypto") and WinZip AES, decrypt when you pass ArchiveReadOptions.password. Writing emits stored + deflate with ZIP64 where needed, interop-verified against Info-ZIP unzip; pass ArchiveWriteOptions.password to encrypt with WinZip AES-256 (AE-2), verified against 7-Zip. Exotic compression methods and ZIP strong encryption (SES) are detected with typed errors that never brick the rest of the archive. See doc/features.md for the full matrix and doc/notes.md for design decisions.

0
likes
150
points
211
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

ZIP reader and writer (incl. WinZip AES) for the koni_archive ecosystem, including CBZ comic archives.

Repository (GitHub)
View/report issues

Topics

#archive #zip #compression

License

MIT (license)

Dependencies

koni_archive_core, koni_codecs

More

Packages that depend on koni_zip