BufferWriter<T>
public abstract class BufferWriter<T> : Disposable, IBufferWriter<T>, ISupplier<ReadOnlyMemory<T>>, IReadOnlyList<T>, IEnumerable<T>, IEnumerable, IReadOnlyCollection<T>, IGrowableBuffer<T>, IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IDisposable
Represents memory-backed output sink which T data can be written.
Gets the total amount of space within the underlying memory.
Gets the amount of space available that can still be written into without forcing the underlying buffer to grow.
Gets the element at the specified index.
Gets the amount of data written to the underlying memory so far.
Gets the data written to the underlying buffer so far.
Writes single element.
Writes multiple elements.
Notifies this writer that count of data items were written.
Clears the data written to the underlying memory.
Transfers ownership of the written memory from this writer to the caller.
Gets enumerator over all written elements.
Returns the memory to write to that is at least the requested size.
Returns the memory to write to that is at least the requested size.