PooledBufferWriter<T> public sealed class PooledBufferWriter<T> : BufferWriter<T>, IMemoryOwner<T>, IDisposable Represents memory writer that uses pooled memory. Documentation Code public PooledBufferWriter(MemoryAllocator<T> allocator, int initialCapacity) Initializes a new writer with the specified initial capacity. public PooledBufferWriter(MemoryAllocator<T> allocator = null) Initializes a new writer with the default initial capacity.