RowScanner.scan

ScanResult scan(const(char)[] chunk, const bool eofIsTerminator = false) @trusted pure nothrow @nogc

Scan the provided chunk for a single CSV row using the scanner's dialect. Returns a ScanResult. When hasRow is false, the caller should provide more data (append next chunk) and retry.

The returned RowView references chunk and remains valid until the next call to scan or until chunk becomes invalid.