flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 12:39:24 -05:00
commit fa54be052a
315 changed files with 49791 additions and 0 deletions

38
tjp/core/zip/Decompress.h Executable file
View 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