libzippp icon indicating copy to clipboard operation
libzippp copied to clipboard

C++ wrapper for libzip

Results 15 libzippp issues
Sort by recently updated
recently updated
newest added

I use libzippp to make extract. This is the code: ``` void ExtractZip(std::string path) { ZipArchive zip(path); zip.open(ZipArchive::ReadOnly); std::vector entries = zip.getEntries(); std::vector::iterator it; path = "./"+path.substr(0, path.find(".zip")); std::filesystem::create_directory(path); for...

Hi, I have an issue when I try to close a zip. I am downloading and caching files to a std::map. When a certain number of bytes have been downloaded....

I have a use case where I want to fetch the entirety of journals, zip it, and then upload it to an off-site https server. My approach has been to...

Otherwise boost (and likely std::filesystem::path) users need to convert wstring to multibyte before libzippp internally converts it back to wstring. :)

``` /*read zip file to buffer */ auto za = ZipArchive::fromWritableBuffer(buffer, buffer_size, ZipArchive::Write); /* read file1 to buf */ za.addData("path/to/file1", file1_buffer, file2_buffer_size, true); za.deleteEntry("path/to/file2"); za.close(); /* write buffer to zip...