JsonReaderData.ReadBytes(Int32, JsonReaderState) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
呼叫 以從資料流程讀取位元組。
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 ,從資料流程讀取我的位元組。