Edit

Share via


StreamPipeReaderOptions.UseZeroByteReads Property

Definition

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.

public:
 property bool UseZeroByteReads { bool get(); };
public bool UseZeroByteReads { get; }
member this.UseZeroByteReads : bool
Public ReadOnly Property UseZeroByteReads As Boolean

Property Value

true if reads with an empty buffer should be issued to the underlying stream before allocating memory; otherwise, false.

Applies to