|
| | ZipOutputFile (File *file) |
| | Constructor for the ZipOutputFile class.
|
| |
| void | open () |
| | Opens the file for writing.
|
| |
| void | close () |
| | Closes the file and releases any resources associated with it.
|
| |
| void | closeEntry () |
| | Closes the current entry and prepares the file for writing the next entry. This method should be called after writing the data for the current entry is complete.
|
| |
| void | putNextEntry (ZipEntry *entry) |
| | Begins writing a new ZIP entry. The stream is now positioned correctly to receive data.
|
| |
| void | write (uint8 *data, int64 offset, size_t length) |
| | Writes the specified data to the stream.
|
| |
| void | writeAndClose (File *file) |
| | Writes the content of the file to the stream and closes the file.
|
| |
| | Object () noexcept |
| | Constructor.
|
| |
| virtual | ~Object () noexcept |
| | Destructor.
|
| |
| void | release () noexcept |
| | Decreases the reference counter and releases the object immediately when the reference counter becomes 0.
|
| |
| Object * | retain () noexcept |
| | Increases the reference counter of this object by 1.
|
| |
| Object * | autorelease () noexcept |
| | Same function as release(), but releases the object with a delay if the reference counter is 0. AutoreleasePool::drain() must be called in the to release the object.
|
| |
| int32 | referenceCount () const noexcept |
| | Returns the value of the reference counter.
|
| |
| virtual bool | equals (const Object *other) const |
| | Comparison of objects.
|
| |
| virtual String | displayName () const |
| | Returns the display name of the object intended to present to a user.
|
| |
| virtual void | printDiffInfo (DiffOperation operation, Object *other) const |
| | Output method for outputting the diff results for the diff algorithm.
|
| |
| void | setHighBit (bool status) noexcept |
| |
| bool | highBit () const noexcept |
| |
This class represents a ZIP file for writing ZIP data.