YourGameLib
|
Namespaces | |
namespace | android |
namespace | desktop |
Functions | |
int | readFileFromPath (const std::string &filepath, std::vector< uint8_t > &dst) |
int | readFileFromArchive (const std::string &archivepath, const std::string &filename, std::vector< uint8_t > &dst) |
int | writeFileToPath (const std::string &filepath, const void *data, size_t numBytes) |
bool | checkIfPathIsDirectory (const std::string &filepath) |
void | normalizePath (std::string &path) |
Variables | |
const std::string | ARCHIVE_FILE_EXTENSION = "zip" |
bool yourgame_internal::file::checkIfPathIsDirectory | ( | const std::string & | filepath | ) |
void yourgame_internal::file::normalizePath | ( | std::string & | path | ) |
int yourgame_internal::file::readFileFromArchive | ( | const std::string & | archivepath, |
const std::string & | filename, | ||
std::vector< uint8_t > & | dst | ||
) |
int yourgame_internal::file::readFileFromPath | ( | const std::string & | filepath, |
std::vector< uint8_t > & | dst | ||
) |
int yourgame_internal::file::writeFileToPath | ( | const std::string & | filepath, |
const void * | data, | ||
size_t | numBytes | ||
) |
const std::string yourgame_internal::file::ARCHIVE_FILE_EXTENSION = "zip" |