|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
#include <File.hpp>
Public Member Functions | |
| File () | |
| ~File () | |
| void | Close () |
| bool | Open (const std::string &filename, const std::string &mode) |
| std::vector< unsigned char > | ReadAllBytes () |
| std::string | ReadAllText () |
| bool | WriteAllBytes (const std::vector< unsigned char > &data) |
| bool | WriteAllText (const std::string &content) |
Static Public Member Functions | |
| static bool | Exists (const std::string &filename) |
|
static |
| bool Sleak::File::Open | ( | const std::string & | filename, |
| const std::string & | mode ) |
| bool Sleak::File::WriteAllBytes | ( | const std::vector< unsigned char > & | data | ) |