PooledArrayBufferWriter<T>
public sealed class PooledArrayBufferWriter<T> : MemoryWriter<T>, IConvertible<ArraySegment<T>>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Represents memory writer that is backed by the array obtained from the pool.
Gets the element at the specified index.
Gets the daya written to the underlying array so far.
Initializes a new writer with the specified initial capacity.
Initializes a new writer with the default initial capacity.
public PooledArrayBufferWriter()
Initializes a new writer with the default initial capacity and Shared
as the array pooling mechanism.
Initializes a new writer with the specified initial capacity and Shared
as the array pooling mechanism.
Returns the memory to write to that is at least the requested size.