#pragma once #include "llapi/Global.h" #include #include #include LIAPI FILE* GetFILEfromFstream(std::fstream& fs); LIAPI HANDLE GetHANDLEfromFstream(std::fstream& fs); LIAPI std::vector GetFileNameList(const std::string& dir); LIAPI bool CreateDirs(const std::string path); LIAPI std::optional ReadAllFile(const std::string& filePath, bool isBinary = false); LIAPI bool WriteAllFile(const std::string& filePath, const std::string& content, bool isBinary = false); LIAPI std::pair UncompressFile(const std::string& filePath, const std::string& toDir, int processTimeout);