Files
core_misc/tjp/core/zip/Decompress.h
Timothy Prepscius fa54be052a flatten 20260225
2026-02-25 12:39:24 -05:00

39 lines
762 B
C++
Executable File

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