changes + more windows bs

This commit is contained in:
2026-03-29 20:13:24 -04:00
parent ad125c15a2
commit 0b91382f0f
16 changed files with 179 additions and 72 deletions

View File

@@ -1,6 +1,8 @@
#pragma once
#include <filesystem>
#include <string>
#include <string_view>
namespace anm2ed::util
{
@@ -19,4 +21,10 @@ namespace anm2ed::util
private:
FILE* handle{};
};
}
namespace file
{
bool read_to_string(const std::filesystem::path&, std::string*, const char* mode = "rb");
bool write_string(const std::filesystem::path&, std::string_view, const char* mode = "wb");
}
}