FileBufferingReadStream.Read 方法

定义

重载

Read(Span<Byte>)
Read(Byte[], Int32, Int32)

Read(Span<Byte>)

Source:
FileBufferingReadStream.cs

当在派生类中重写时,从当前流读取字节序列,并将此流中的位置提升读取的字节数。

public:
 override int Read(Span<System::Byte> buffer);
public override int Read (Span<byte> buffer);
override this.Read : Span<byte> -> int
Public Overrides Function Read (buffer As Span(Of Byte)) As Integer

参数

buffer
Span<Byte>

返回

适用于

Read(Byte[], Int32, Int32)

Source:
FileBufferingReadStream.cs
Source:
FileBufferingReadStream.cs
Source:
FileBufferingReadStream.cs

当在派生类中重写时,从当前流读取字节序列,并将此流中的位置提升读取的字节数。

public:
 override int Read(cli::array <System::Byte> ^ buffer, int offset, int count);
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

返回

适用于