ReaderInput.ReadBytes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReadBytes(Span<Byte>) |
使用输入中的数据填充目标范围。 |
ReadBytes(Byte[], Int32, Int32) |
将输入中的字节读取到目标数组中。 |
ReadBytes(Span<Byte>)
ReadBytes(Byte[], Int32, Int32)
将输入中的字节读取到目标数组中。
public abstract void ReadBytes(byte[] destination, int offset, int length);
abstract member ReadBytes : byte[] * int * int -> unit
Public MustOverride Sub ReadBytes (destination As Byte(), offset As Integer, length As Integer)
参数
- destination
- Byte[]
目标数组。
- offset
- Int32
开始写入字节的目标偏移量。
- length
- Int32
要复制到目标的字节数。