// TJP COPYRIGHT HEADER #pragma once #include "Exception.h" #include #include #include #include namespace tjp { namespace core { namespace zip { /** * decompresses the given file to the given path, sets the files to the set of files * found */ void compress (const std::string &file, const std::string &path, const std::list &files); void compress (const std::string &file, const std::map &zipFileNameToDiskFileName); void compress (const std::string &from, const std::string &to); Vector compress (const std::string &path, const std::list &files); bool compress (const char *from, int fromSize, char *&to, int &toSize, int level=9); bool compress (const char *from, int fromSize, std::vector &to, int level=9); std::vector compress (const char *from, int fromSize, int level=9); } // namespace namespace zstd { std::vector compress (const char *from, int fromSize, int level=9); } } // } //