![]() |
SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
|
Functions | |
std::vector< std::byte > | readFileBuffer (const std::string &filepath, std::size_t startOffset=0) |
std::string | readFileText (const std::string &filepath, std::size_t startOffset=0) |
bool | writeFileBuffer (const std::string &filepath, std::span< const std::byte > buffer) |
bool | writeFileText (const std::string &filepath, const std::string &text) |
std::vector< std::byte > sourcepp::fs::readFileBuffer | ( | const std::string & | filepath, |
std::size_t | startOffset = 0 |
||
) |
std::string sourcepp::fs::readFileText | ( | const std::string & | filepath, |
std::size_t | startOffset = 0 |
||
) |
bool sourcepp::fs::writeFileBuffer | ( | const std::string & | filepath, |
std::span< const std::byte > | buffer | ||
) |