37 std::string m_filePath;
Console logging macros for all engine and game code.
Engine-wide primitive type aliases and GLM math imports.
Read helper bound to a single file path.
std::vector< u64 > ReadToBytes()
Read the file as raw bytes.
std::string GetPath()
Return the path this reader was constructed with.
FileReader(const std::string &path)
Bind the reader to the given file path.
std::string ReadToString()
Read the entire file into a single string.
u64 GetSize()
Return the file size in bytes.
std::vector< std::string > ReadLines()
Read the file line-by-line.
bool Exists()
Check whether the file exists on disk.
uint64_t u64
Unsigned 64-bit integer.