flatten 20260225
This commit is contained in:
38
tjp/core/zip/Decompress.h
Executable file
38
tjp/core/zip/Decompress.h
Executable file
@@ -0,0 +1,38 @@
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user