Enum CsvNewline
- Namespace
- FlameCsv
- Assembly
- FlameCsv.Core.dll
Enumeration that determines how newlines are handled in CSV files.
public enum CsvNewline : byte
Fields
CRLF = 0Read any of
\r\n,\nand\r; write\r\n.A lone
\nor\rwill be treated as a newline character when reading for compatibility.LF = 1Read and write only
\n.You can get a performance boost by using this when you know that your data only contains
\nnewlines.Platform = 2Use either CRLF or LF depending on NewLine.
Platform detected
\r\nhas the same semantics as CRLF.