Basics
Guides
API Reference
Basics
Guides
API Reference
[8:14] (extern: com.lehman.aussom.stdlib.AussomZip) extends: object
The zip object implements zip file compression and decompression.
zip ()
newZip ()
addEntry (string FileNameInZip, object BufferData = null)
Adds a new entry with the provided binary data to the zip object.
FileNameInZip is a string with the file name in the zip.BufferData is a Buffer object with the data to store.This object.setBuffer (object BufferData)
Sets the zip object Buffer with the data provided.
BufferData is a Buffer object to set.This object.getBuffer ()
Gets a Buffer object with the zip binary data.
A Buffer object with the data.getEntries ()
Returns a list of strings with the names of the entries.
A list of strings with the entries.getEntry (string FileNameInZip)
Gets Buffer object of the entry with the provided file name.
A Buffer object with the entry.removeEntry (string FileNameInZip)
Removes the entry with the provided file name from the zip object. The zip format has no in-place delete, so the archive is rebuilt without the named entry.
FileNameInZip is a string with the file name in the zip.true when the entry was found and removed, false when it was not present.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.