JsonReaderData.ReadBytes(Int32, JsonReaderState) 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.
Called to read bytes from the stream.
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
Parameters
- bytesConsumed
- Int32
The bytes consumed so far.
- state
- JsonReaderState
The current JsonReaderState.
Returns
The new Utf8JsonReader, having read my bytes from the stream.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework