koni_gzip 0.9.0
koni_gzip: ^0.9.0 copied to clipboard
GZIP adapter for the koni_archive ecosystem — single-entry .gz archives and layered .tar.gz handling.
koni_gzip #
GZIP adapter for the koni_archive
ecosystem: a bare .gz opens as a single-entry archive, and
.tar.gz/.tgz opens as the inner TAR via layered detection. 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('logs.gz'); // auto-detected
final entry = archive.entries.single; // name from FNAME
await for (final chunk in archive.openRead(entry)) {
// bounded-memory streaming; CRC-32/ISIZE verified per member
}
See doc/features.md for the matrix and doc/notes.md for design decisions.