Table of Contents

Enum CsvNewline

Namespace
FlameCsv
Assembly
FlameCsv.Core.dll

Enumeration that determines how newlines are handled in CSV files.

public enum CsvNewline : byte

Fields

CRLF = 0

Read any of \r\n, \n and \r; write \r\n.

A lone \n or \r will be treated as a newline character when reading for compatibility.

LF = 1

Read and write only \n.

You can get a performance boost by using this when you know that your data only contains \n newlines.

Platform = 2

Use either CRLF or LF depending on NewLine.

Platform detected \r\n has the same semantics as CRLF.