#pragma once #include #include namespace Utils { enum IoMode { Read, WriteTruncate, WriteAppend, }; FILE* OpenCstdioFile(const std::filesystem::path& path, IoMode mode, bool binary = false); FILE* OpenCstdioFile(const char* path, IoMode mode, bool binary = false); } // namespace Utils