| 274 | } |
| 275 | |
| 276 | std::string Utils::readFileContents(const std::string& file) |
| 277 | { |
| 278 | std::ifstream f(file); |
| 279 | std::stringstream ss; |
| 280 | ss << f.rdbuf(); |
| 281 | |
| 282 | return ss.str(); |
| 283 | } |
| 284 | |
| 285 | std::vector<std::uint8_t> Utils::readBinaryFileContents(const std::string& file) { |
| 286 | std::ifstream inputStream(file, std::ios::binary | std::ios::ate); |
nothing calls this directly
no outgoing calls
no test coverage detected