![]() |
SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
|
#include <cstddef>#include <filesystem>#include <span>#include <string_view>#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::filesystem::path &filepath, std::size_t startOffset=0) |
| std::string | sourcepp::fs::readFileText (const std::filesystem::path &filepath, std::size_t startOffset=0) |
| bool | sourcepp::fs::writeFileBuffer (const std::filesystem::path &filepath, std::span< const std::byte > buffer) |
| bool | sourcepp::fs::writeFileText (const std::filesystem::path &filepath, std::string_view text) |