ZipArchive.build

void[] build() @safe pure

Construct the entire contents of the current members of the archive.

Fills in the properties data[], totalEntries, and directory[]. For each ArchiveMember, fills in properties crc32, compressedSize, compressedData[].

Returns

Array representing the entire archive.

Throws

ZipException when the archive could not be build.