Table of Contents

Interface IDematerializer<T, TValue>

Namespace
FlameCsv.Writing
Assembly
FlameCsv.Core.dll

Instance of a type that writes objects/structs as CSV records.

public interface IDematerializer<T, in TValue> where T : unmanaged, IBinaryInteger<T>

Type Parameters

T
TValue

Properties

FieldCount

Number of fields the instance will write.

int FieldCount { get; }

Property Value

int

Methods

Write(ref readonly CsvFieldWriter<T>, TValue)

Writes TValue as CSV as FieldCount fields.

void Write(ref readonly CsvFieldWriter<T> writer, TValue value)

Parameters

writer CsvFieldWriter<T>
value TValue

Remarks

Does not write a trailing newline.

WriteHeader(ref readonly CsvFieldWriter<T>)

Writes the header for TValue as FieldCount fields.

void WriteHeader(ref readonly CsvFieldWriter<T> writer)

Parameters

writer CsvFieldWriter<T>

Remarks

Does not write a trailing newline.