Function create_mmap
Source pub fn create_mmap<A, S, D>(
data: &ArrayBase<S, D>,
file_path: &Path,
mode: AccessMode,
offset: usize,
) -> Result<MemoryMappedArray<A>, CoreError>
Expand description
Create a new memory-mapped array file
§Arguments
data - The array data to write to the file
file_path - Path where the memory-mapped file should be created
mode - Access mode (should be Write for new files)
offset - Offset in bytes from the start of the file
§Returns
A new memory-mapped array