Interface ICsvPipeWriter<T>
Internal implementation detail.
[EditorBrowsable(EditorBrowsableState.Advanced)]
public interface ICsvPipeWriter<T> : IBufferWriter<T> where T : unmanaged
Type Parameters
T
- Inherited Members
Properties
NeedsFlush
Whether the possible internal buffer is nearly full and should be flushed.
bool NeedsFlush { get; }
Property Value
Methods
Complete(Exception?)
Completes the reader, flushing unflushed data if exception
is null.
void Complete(Exception? exception)
Parameters
exception
ExceptionException observed when writing the data. If null, pending unflushed data does not get flushed.
CompleteAsync(Exception?, CancellationToken)
Completes the reader, flushing unflushed data if exception
is null.
ValueTask CompleteAsync(Exception? exception, CancellationToken cancellationToken = default)
Parameters
exception
ExceptionException observed when writing the data. If null, pending unflushed data does not get flushed.
cancellationToken
CancellationToken
Returns
Flush()
Flushes the writer, ensuring that the written data is transported to the underlying target.
void Flush()
FlushAsync(CancellationToken)
Flushes the writer, ensuring that the written data is transported to the underlying target.
ValueTask FlushAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken