BufferedReadStream.EnsureBuffered 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
EnsureBuffered() |
确保缓冲区不为空。 |
EnsureBuffered(Int32) |
确保可用的缓冲数据量最少。 |
EnsureBuffered()
- Source:
- BufferedReadStream.cs
- Source:
- BufferedReadStream.cs
- Source:
- BufferedReadStream.cs
确保缓冲区不为空。
public:
bool EnsureBuffered();
public bool EnsureBuffered ();
member this.EnsureBuffered : unit -> bool
Public Function EnsureBuffered () As Boolean
返回
true
如果缓冲区不为空,则返回 ;false
否则返回 。
适用于
EnsureBuffered(Int32)
- Source:
- BufferedReadStream.cs
- Source:
- BufferedReadStream.cs
- Source:
- BufferedReadStream.cs
确保可用的缓冲数据量最少。
public:
bool EnsureBuffered(int minCount);
public bool EnsureBuffered (int minCount);
member this.EnsureBuffered : int -> bool
Public Function EnsureBuffered (minCount As Integer) As Boolean
参数
- minCount
- Int32
缓冲数据的最小量。
返回
true
如果最小缓冲数据量可用,则返回 ;false
否则返回 。