Interface ICsvFields<T>
Interface representing the fields of a CSV record.
public interface ICsvFields<T> where T : unmanaged, IBinaryInteger<T>
Type Parameters
T
Properties
FieldCount
Gets the number of fields in the record.
int FieldCount { get; }
Property Value
this[int]
Returns the field at index
.
ReadOnlySpan<T> this[int index] { get; }
Parameters
index
intZero-based index of the field to get.
Property Value
- ReadOnlySpan<T>
Remarks
The span is only valid until another field or the next record is read.
Exceptions
- ArgumentOutOfRangeException
Thrown if
index
is less than 0 or greater than or equal to FieldCount