Closed LeoYang06 closed 2 years ago
我也遇到这个问题
我也遇到了这个问题
You can refer to FileHelpersCpp implementation,you need to accurately calculate the size of the data to be written before writing,then pre-allocate space,and then use a memory-mapped file to write data quickly.
Creating a memory mapped file with the specified capacity in system memory is not supported, that means it is not possible to perform a write operation on an empty file.