YourGameLib
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
file.h File Reference
#include <cstdint>
#include <vector>
#include <string>
Include dependency graph for file.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yourgame_internal
 
namespace  yourgame_internal::file
 

Functions

int yourgame_internal::file::readFileFromPath (const std::string &filepath, std::vector< uint8_t > &dst)
 
int yourgame_internal::file::readFileFromArchive (const std::string &archivepath, const std::string &filename, std::vector< uint8_t > &dst)
 
int yourgame_internal::file::writeFileToPath (const std::string &filepath, const void *data, size_t numBytes)
 
bool yourgame_internal::file::checkIfPathIsDirectory (const std::string &filepath)
 
void yourgame_internal::file::normalizePath (std::string &path)
 

Variables

const std::string yourgame_internal::file::ARCHIVE_FILE_EXTENSION = "zip"