aui::archive::zip::Writer#
Writer for ZIP archives.
| Header: | #include <AUI/Util/Archive.h> |
| CMake: | aui_link(my_target PUBLIC aui::core) |
Detailed Description#
The writer is stateful and not thread‑safe. It throws on the first failure.
Public Methods#
openFileInZip#
void Writer::openFileInZip(const APath& path, const std::function<void(IOutputStream&)>& visitor)
Creates a new file within a zip.
- Arguments
pathpath of file within archive.visitorConsumer lambda of output stream. The lambda writes data to the provided output stream.