async_zip library
Classes
- ZipEntry
- Describes a Zip archive item.
- ZipFileReader
- Reads data from a Zip archive asynchronously.
- ZipFileReaderSync
- Reads data from a Zip archive.
- ZipFileWriter
- Writes data to a Zip archive asynchronously.
- ZipFileWriterSync
- Writes data to a Zip archive.
Constants
- kDefaultCompressionLevel → const int
Properties
- asyncZipDebugPrint ↔ (dynamic Function(String)?)
-
getter/setter pair
Functions
-
extractZipArchive(
File archive, Directory dir, {void callback(ZipEntry entry, int totalEntries)?}) → Future< void> - Asynchronously extracts a Zip archive into the specified directory.
-
extractZipArchiveSync(
File archive, Directory dir, {void callback(ZipEntry entry, int totalEntries)?}) → void - Extracts a Zip archive into the specified directory.
Exceptions / Errors
- ZipException
-
Notifies the caller about a failed operation when dealing with
ZipFileReader and ZipFileWriter or their respective asynchronous
counterparts
ZipFileReaderAsync
andZipFileWriterAsync
.