![]() |
SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
|
#include <cstddef>
#include <span>
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | sourcepp |
namespace | sourcepp::fs |
Functions | |
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) |
bool | sourcepp::fs::writeFileText (const std::string &filepath, const std::string &text) |