共用方式為


ReaderInput 類別

定義

讀取二進位資料的功能。

public abstract class ReaderInput
type ReaderInput = class
Public MustInherit Class ReaderInput
繼承
ReaderInput

建構函式

ReaderInput()

讀取二進位資料的功能。

屬性

Length

取得長度。

Position

取得位置。

方法

ReadByte()

從輸入讀取位元組。

ReadBytes(Byte[], Int32, Int32)

從輸入讀取位元組到目的地陣列。

ReadBytes(Span<Byte>)

使用輸入中的資料填入目的地範圍。

ReadUInt32()

UInt32從輸入讀取 。

ReadUInt64()

UInt64從輸入讀取 。

Seek(Int64)

搜尋至指定的位置。

Skip(Int64)

略過指定的位元組數目。

TryReadBytes(Int32, ReadOnlySpan<Byte>)

嘗試從輸入讀取指定的位元組數目。

適用於