| 271 | } |
| 272 | |
| 273 | std::string readFile(const std::filesystem::path& path) |
| 274 | { |
| 275 | std::ifstream ifs(path, std::ios::binary); |
| 276 | if (!ifs) |
| 277 | FALCOR_THROW("Failed to read from file '{}'.", path); |
| 278 | return std::string((std::istreambuf_iterator<char>(ifs)), (std::istreambuf_iterator<char>())); |
| 279 | } |
| 280 | |
| 281 | std::string decompressFile(const std::filesystem::path& path) |
| 282 | { |
no test coverage detected