| 31 | }; |
| 32 | |
| 33 | CASCStream::CASCStream(HANDLE storage, const std::string& fileName) { |
| 34 | if (!CascOpenFile(storage, fileName.c_str(), 0, CASC_OPEN_BY_NAME, &_file)) { |
| 35 | throw std::runtime_error(absl::StrCat("Failed to open file '", fileName, "' from CASC")); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | CASCStream::~CASCStream() { CascCloseFile(_file); } |
| 40 |
nothing calls this directly
no outgoing calls
no test coverage detected