共用方式為


JsonReaderData.ReadBytes(Int32, JsonReaderState) 方法

定義

呼叫 以從資料流程讀取位元組。

public virtual System.Text.Json.Utf8JsonReader ReadBytes(int bytesConsumed, System.Text.Json.JsonReaderState state);
abstract member ReadBytes : int * System.Text.Json.JsonReaderState -> System.Text.Json.Utf8JsonReader
override this.ReadBytes : int * System.Text.Json.JsonReaderState -> System.Text.Json.Utf8JsonReader
Public Overridable Function ReadBytes (bytesConsumed As Integer, state As JsonReaderState) As Utf8JsonReader

參數

bytesConsumed
Int32

到目前為止耗用的位元組。

state
JsonReaderState

目前的 JsonReaderState

傳回

新的 Utf8JsonReader ,從資料流程讀取我的位元組。

適用於