Zip.size readonly property



Get the size in bytes of the zip archive.

Example

-- prints the size on the disk of a zip archive local compression = require "compression" -- check parameters : the archive and entry specified as argument local archive = arg[1] or error("no archive specified") -- open the archive local z = compression.Zip(archive) -- prints the size of the zip archive in bytes print(archive.." has a size of "..z.size)