ZipArchive.this

this() @safe @nogc pure nothrow

Constructor to use when creating a new archive.

this(void[] buffer)

Constructor to use when reading an existing archive.

Fills in the properties data[], totalEntries, comment[], and directory[]. For each ArchiveMember, fills in properties madeVersion, extractVersion, flags, compressionMethod, time, crc32, compressedSize, expandedSize, compressedData[], internalAttributes, externalAttributes, name[], extra[], comment[]. Use expand() to get the expanded data for each ArchiveMember.

Parameters

bufferThe entire contents of the archive.

Throws

ZipException when the archive was invalid or when malware was detected.