PayloadStream.Read(Byte[], Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
该函数由StreamReader在处理流时调用。 它看起来没有引用,但实际上是StreamReader必须实现的,就像Length一样。
public override int Read(byte[] buffer, int offset, int count);
override this.Read : byte[] * int * int -> int
Public Overrides Function Read (buffer As Byte(), offset As Integer, count As Integer) As Integer
参数
- buffer
- Byte[]
缓冲区可以读取。
- offset
- Int32
从哪里开始阅读。
- count
- Int32
阅读量。
返回
缓冲区中未读取的块数。