Dela via


FileBufferingReadStream.Read Method

Definition

Overloads

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

Read(Span<Byte>)

Source:
FileBufferingReadStream.cs

When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.

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

Parameters

buffer
Span<Byte>

Returns

Applies to

Read(Byte[], Int32, Int32)

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

When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.

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

Parameters

buffer
Byte[]
offset
Int32
count
Int32

Returns

Applies to