StreamPipeWriterOptions
Represents a set of options for controlling the creation of the PipeWriter.
Gets the value that indicates if the underlying stream should be left open after the PipeWriter completes.
Gets the minimum buffer size to use when renting memory from the Pool.
Gets the MemoryPool<T> to use when allocating memory.
public StreamPipeWriterOptions(MemoryPool<byte> pool = null, int minimumBufferSize = -1, bool leaveOpen = false)
Initializes a StreamPipeWriterOptions instance, optionally specifying a memory pool, a minimum buffer size, and whether the underlying stream should be left open after the PipeWriter completes.