Table of Contents

Struct CsvFieldMetadata

Namespace
FlameCsv.Reading
Assembly
FlameCsv.Core.dll

Metadata about a CSV field.

public readonly struct CsvFieldMetadata

Constructors

CsvFieldMetadata(uint, int)

Initializes a new instance of CsvFieldMetadata.

[CLSCompliant(false)]
public CsvFieldMetadata(uint value, int start)

Parameters

value uint

Packed field end and flags

start int

Start index in the data

Properties

HasQuotes

Returns true if the field has quotes; otherwise, false.

public bool HasQuotes { get; }

Property Value

bool

Length

Length of the raw field, without unescaping and trimming.

public int Length { get; }

Property Value

int

NeedsUnescaping

Returns true if the field needs unescaping; otherwise, false.

public bool NeedsUnescaping { get; }

Property Value

bool

Remarks

If this is true, HasQuotes is also true.