ReaderInput.ReadBytes 方法

定义

重载

ReadBytes(Span<Byte>)

使用输入中的数据填充目标范围。

ReadBytes(Byte[], Int32, Int32)

将输入中的字节读取到目标数组中。

ReadBytes(Span<Byte>)

使用输入中的数据填充目标范围。

public abstract void ReadBytes(Span<byte> destination);
abstract member ReadBytes : Span<byte> -> unit
Public MustOverride Sub ReadBytes (destination As Span(Of Byte))

参数

destination
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

要复制到目标的字节数。

适用于