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