CsvResult!(CsvReader!(const(char)[])) — a reader on success, or
invalidDialect when called for unsupported modes. Open failures are surfaced as ioFailure.
Create a CsvReader over this file's contents.
Behavior:
memoryMapped == true and mode == CsvOpenMode.read, the file ismemory-mapped via std.mmfile.MmFile and a zero-copy CsvReader over the mapped bytes is returned.
memoryMapped == false and mode == CsvOpenMode.read, the file is readusing a large buffered reader (see BufferManager from T04) and a CsvReader over an in-memory buffer is returned. This provides behavior parity with the memory-mapped path while avoiding mapping.
Cross-platform notes:
files the reader may automatically fall back to the buffered path even when memoryMapped == true. The decision uses ddnCanMemoryMapSize(fileSize), with a conservative cap ddnMaxMmapSize32.
also falls back to the buffered path automatically.
CsvResult!(CsvReader!(const(char)[])) — a reader on success, or
invalidDialect when called for unsupported modes. Open failures are surfaced as ioFailure.