ReaderInput.ReadBytes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>)
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.