mio
mio copied to clipboard
Cross-platform C++11 header-only library for memory mapped file IO
Can I add for you, the conceptual support for the C++ programming language 2020 standard? Because your TDDO: code comments look like they need help. Just like the your code...
[C++ 2020 template concept support] with repository https://github.com/mandreyel/mio/ Compatible with c++ standard 2011, and add c++ standard 2020 code. #82
How to change content in read-write mode ?
fixes #87
After updating to latest mio I'm getting linker errors all over the place. I didn't have these with older mio. These are the linker errors: ``` 3>common.lib(compressed_reader.obj) : error LNK2005:...
In line 879 code,On 32-bite ,Get file size error,I modified part of the code 。 inline unsigned __int64 query_file_size(file_handle_type handle, std::error_code& error) { error.clear(); #ifdef _WIN32 // LARGE_INTEGER file_size; //...
Hi,May i ask a question? How to use Mio to read and write large files?Thank you
Windows 7, mingw (MSYS2) gcc 10.2.0 in mio.hpp, line 798: ``` std::wstring s_2_ws(const std::string& s) { if (s.empty()) return{}; const auto s_length = static_cast(s.length()); auto buf = std::vector(s_length); const auto...
I was using mio in a project compiled with mingw-w64 toolchain on arch and I noticed it was missing ``` In file included from /build/MIOProject/include/mio/mmap.hpp:490, from /src/pack.cpp:6: /build/MIOProject/include/mio/detail/mmap.ipp: In function...
I'm writing a large binary file with a struct/record size of 93k and at regular intervals I want to sort the tail of the file (1500 records) To speed up...