Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​IO.​Pipelines.​StreamPipeReaderOptions
Assembly: System.IO.Pipelines
Inheritance: object → StreamPipeReaderOptions
Represents a set of options for controlling the creation of the <see cref="T:System.IO.Pipelines.PipeReader" /> .
Properties
public
int
BufferSize
Gets the minimum buffer size to use when renting memory from the <see cref="P:System.IO.Pipelines.StreamPipeReaderOptions.Pool" /> .
public
bool
LeaveOpen
Gets the value that indicates if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes.
public
int
MinimumReadSize
Gets the threshold of remaining bytes in the buffer before a new buffer is allocated.
public
Buffers.​MemoryPool<​byte>
Pool
Gets the <see cref="T:System.Buffers.MemoryPool`1" /> to use when allocating memory.
public
bool
UseZeroByteReads
Gets the value that indicates if reads with an empty buffer should be issued to the underlying stream, in order to wait for data to arrive before allocating memory.
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object