Table of Contents

Class CsvParser

Namespace
FlameCsv.Reading
Assembly
FlameCsv.Core.dll

Provides a static factory method for creating CsvParser<T> instances.

public abstract class CsvParser
Inheritance
CsvParser
Derived

Methods

Create<T>(CsvOptions<T>, ICsvPipeReader<T>)

Creates a new instance of a CSV parser.

public static CsvParser<T> Create<T>(CsvOptions<T> options, ICsvPipeReader<T> reader) where T : unmanaged, IBinaryInteger<T>

Parameters

options CsvOptions<T>

Options-instance that determines the dialect and memory pool to use

reader ICsvPipeReader<T>

Reader for the CSV data

Returns

CsvParser<T>

Type Parameters

T

Create<T>(CsvOptions<T>, in ReadOnlySequence<T>)

Creates a new instance of a CSV parser.

public static CsvParser<T> Create<T>(CsvOptions<T> options, in ReadOnlySequence<T> csv) where T : unmanaged, IBinaryInteger<T>

Parameters

options CsvOptions<T>

Options-instance that determines the dialect and memory pool to use

csv ReadOnlySequence<T>

CSV data

Returns

CsvParser<T>

Type Parameters

T