CsvReader.retainOwner
void retainOwner(Object owner) @safe pure nothrow @nogcRetain an object that owns the backing buffer.
The reader keeps a strong reference to owner so buffers with non-trivial lifetimes (memory mappings) stay valid for as long as the reader is reachable, independent of the CsvFile that produced them.
Parameters
owner | Owning object (e.g. the MmFile behind a mapped reader). |