Table of Contents

Interface ICsvBufferReader<T>

Namespace
FlameCsv.IO
Assembly
FlameCsv.Core.dll

Internal implementation detail. Reads raw data from an inner source.

public interface ICsvBufferReader<T> : IDisposable, IAsyncDisposable where T : unmanaged

Type Parameters

T
Inherited Members

Methods

Advance(int)

Advances the reader by the specified number of characters.

void Advance(int count)

Parameters

count int

Number of characters processed from the read result

Read()

Reads from the inner data source.

CsvReadResult<T> Read()

Returns

CsvReadResult<T>

The current data available from the reader, and whether any more data can be read.

ReadAsync(CancellationToken)

Reads from the inner data source.

ValueTask<CsvReadResult<T>> ReadAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

ValueTask<CsvReadResult<T>>

The current data available from the reader, and whether any more data can be read.

TryReset()

Attempts to reset the reader to the beginning of the data source.

bool TryReset()

Returns

bool

true if the reader was reset successfully; false if the reader does not support resetting.

Exceptions

ObjectDisposedException