WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
ZipExtract.h File Reference
#include <filesystem>
#include <string>
Include dependency graph for ZipExtract.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool extractZip (const std::string &zipData, const std::filesystem::path &destDir)
 Extract all files from a ZIP archive into the given directory.
 

Function Documentation

◆ extractZip()

bool extractZip ( const std::string &  zipData,
const std::filesystem::path &  destDir 
)

Extract all files from a ZIP archive into the given directory.

Only regular stored and deflated entries are supported (covers dbd.zip).

Parameters
zipDataRaw ZIP file contents in memory.
destDirDestination directory (created if needed).
Returns
true on success.

Definition at line 34 of file ZipExtract.cpp.