ZipEncoder class Null safety

Encode an Archive object into a Zip formatted buffer.

Constructors

ZipEncoder({Encoding filenameEncoding = const Utf8Codec()})

Properties

filenameEncoding Encoding
final
hashCode int
The hash code for this object.
read-onlyinherited
languageEncodingBitUtf8 int
Bit 11 of the general purpose flag, Language encoding flag
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addFile(ArchiveFile file) → void
encode(Archive archive, {int level = Deflate.BEST_SPEED, OutputStreamBase? output, DateTime? modified}) List<int>?
endEncode({String? comment = ''}) → void
getFileCrc32(ArchiveFile file) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
startEncode(OutputStreamBase? output, {int? level = Deflate.BEST_SPEED, DateTime? modified}) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

OS_MACINTOSH → const int
7
OS_MSDOS → const int
0
OS_UNIX → const int
3
VERSION → const int
20