Edit

Share via


ReaderInput.ReadBytes Method

Definition

Overloads

ReadBytes(Span<Byte>)

Fills the destination span with data from the input.

ReadBytes(Byte[], Int32, Int32)

Reads bytes from the input into the destination array.

ReadBytes(Span<Byte>)

Fills the destination span with data from the input.

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

Parameters

destination
Span<Byte>

The destination.

Applies to

ReadBytes(Byte[], Int32, Int32)

Reads bytes from the input into the destination array.

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)

Parameters

destination
Byte[]

The destination array.

offset
Int32

The offset into the destination to start writing bytes.

length
Int32

The number of bytes to copy into destination.

Applies to