ZipFileReader class
Reads data from a Zip archive asynchronously.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> - Closes the reader. After closing no further read operations are allowed. You can however open the reader again using a new file.
-
entries(
) → Future< List< ZipEntry> > - Returns a list of all items contained in the Zip archive.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
File file) → Future< void> - Opens the specified Zip archive for read access.
-
read(
String name) → Future< Uint8List> -
Reads the entry specified by
name
and returns the unpacked data as aUint8List
. -
readToFile(
String name, File file) → Future< void> -
Reads the entry specified by
name
and writes the unpacked data tofile
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited