| 352 | ~CFILE() SKR_NOEXCEPT { flush(); fclose(fp); } |
| 353 | |
| 354 | void write(const skr::StringView content) |
| 355 | { |
| 356 | SkrZoneScopedN("CFILE::write"); |
| 357 | fwrite(content.raw().data(), sizeof(char8_t), content.size(), fp); |
| 358 | } |
| 359 | |
| 360 | void flush() SKR_NOEXCEPT |
| 361 | { |
no test coverage detected