StreamPipeReaderOptions.UseZeroByteReads 属性

定义

获取一个值,该值指示是否应向基础流发出具有空缓冲区的读取,以便在分配内存之前等待数据到达。

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

属性值

true 如果在分配内存之前,应将具有空缓冲区的读取颁发给基础流;否则为 false

适用于