move to read only memory mapped files

This commit is contained in:
Green Sky
2025-03-15 19:54:45 +01:00
parent f5f7f2ca9d
commit a094a3d574
5 changed files with 78 additions and 12 deletions

View File

@@ -6,4 +6,5 @@
#include <string_view>
std::unique_ptr<File2I> construct_file2_rw_mapped(std::string_view file_path, int64_t file_size = -1);
std::unique_ptr<File2I> construct_file2_r_mapped(std::string_view file_path);