Interface IDematerializer<T, TValue>
Instance of a type that writes objects/structs as CSV records.
public interface IDematerializer<T, in TValue> where T : unmanaged, IBinaryInteger<T>
Type Parameters
TTValue
Properties
FieldCount
Number of fields the instance will write.
int FieldCount { get; }
Property Value
Methods
Write(ref readonly CsvFieldWriter<T>, TValue)
Writes TValue as CSV as FieldCount fields.
void Write(ref readonly CsvFieldWriter<T> writer, TValue value)
Parameters
writerCsvFieldWriter<T>valueTValue
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
writerCsvFieldWriter<T>
Remarks
Does not write a trailing newline.