standard.arch.zip

standard.arch.zip is available since version 1.0.
Import library : standard.arch.zip
(you must include this at the top of your source: "import standard.arch.zip" (no quotes) Require : standard.arch.zip

Description:

ZIP Library based on libzip.

libzip documentation is available at http://www.nih.at/libzip/libzip.html.

TODO: Documentation

Methods

TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
TODO: Document this
Example
import standard.arch.zip

class Main {
	function Main() {
		var archive="test.zip";
		if (!(var za=zip_open(archive, ZIP_CREATE, var err))) {
			echo "Error: $err\n";
			return 1;
		}

		var zs=zip_source_buffer(za, "Hello world ... from a ZIP file !");

		zip_add(za, "teststring.txt",zs);
		zip_close(za);
	}
}