Pack writer functions. More...
#include <writer.hpp>
Static Public Member Functions | |
| static void | pack (const filesystem::path &packPath, uint64_t fileCount, const char **fileItemPaths, uint32_t dataVersion=0, float zipThreshold=0.1f, bool printProgress=false, OnPackFile onPackFile=nullptr, void *argument=nullptr) |
| Packs files to the Pack archive. | |
Pack writer functions.
See the writer.h
|
inlinestatic |
Packs files to the Pack archive.
See the packFiles().
| [in] | packPath | output Pack file path string |
| fileCount | file count to pack | |
| [in] | fileItemPaths | pack file and item path string array (file/item, file/item...) |
| dataVersion | packed file data version | |
| zipThreshold | compression threshold (0.0 - 1.0 range) | |
| printProgress | output packing progress to the stdout | |
| [in] | onPackFile | file packing callback, or NULL |
| [in] | argument | file packing callback argument, or NULL |
| Error | with a PackResult string on failure. |