Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Utf8JsonReader() [1/4]

System.Text.Json.Utf8JsonReader.Utf8JsonReader ( ReadOnlySpan< byte > jsonData,
bool isFinalBlock,
JsonReaderState state )
inline

Definition at line 187 of file Utf8JsonReader.cs.

188 {
191 _isInputSequence = false;
192 _lineNumber = state._lineNumber;
193 _bytePositionInLine = state._bytePositionInLine;
194 _inObject = state._inObject;
195 _isNotPrimitive = state._isNotPrimitive;
196 _stringHasEscaping = state._stringHasEscaping;
197 _trailingCommaBeforeComment = state._trailingCommaBeforeComment;
198 _tokenType = state._tokenType;
199 _previousTokenType = state._previousTokenType;
200 _readerOptions = state._readerOptions;
201 if (_readerOptions.MaxDepth == 0)
202 {
204 }
205 _bitStack = state._bitStack;
206 _consumed = 0;
208 _totalConsumed = 0L;
210 _isMultiSegment = false;
211 ValueSpan = ReadOnlySpan<byte>.Empty;
212 _currentPosition = default(SequencePosition);
213 _nextPosition = default(SequencePosition);
215 HasValueSequence = false;
217 }
static readonly ReadOnlySequence< T > Empty
static ReadOnlySpan< T > Empty
readonly ReadOnlySequence< byte > _sequence
ReadOnlySequence< byte > ValueSequence

References System.Text.Json.Utf8JsonReader._bitStack, System.Text.Json.Utf8JsonReader._buffer, System.Text.Json.Utf8JsonReader._bytePositionInLine, System.Text.Json.Utf8JsonReader._consumed, System.Text.Json.Utf8JsonReader._currentPosition, System.Text.Json.Utf8JsonReader._inObject, System.Text.Json.Utf8JsonReader._isFinalBlock, System.Text.Json.Utf8JsonReader._isInputSequence, System.Text.Json.Utf8JsonReader._isLastSegment, System.Text.Json.Utf8JsonReader._isMultiSegment, System.Text.Json.Utf8JsonReader._isNotPrimitive, System.Text.Json.Utf8JsonReader._lineNumber, System.Text.Json.Utf8JsonReader._nextPosition, System.Text.Json.Utf8JsonReader._previousTokenType, System.Text.Json.Utf8JsonReader._readerOptions, System.Text.Json.Utf8JsonReader._sequence, System.Text.Json.Utf8JsonReader._stringHasEscaping, System.Text.Json.Utf8JsonReader._tokenType, System.Text.Json.Utf8JsonReader._totalConsumed, System.Text.Json.Utf8JsonReader._trailingCommaBeforeComment, System.Text.Json.Dictionary, System.Buffers.ReadOnlySequence< T >.Empty, System.ReadOnlySpan< T >.Empty, System.Text.Json.Utf8JsonReader.HasValueSequence, System.L, System.Text.Json.JsonReaderOptions.MaxDepth, System.state, System.Text.Json.Utf8JsonReader.TokenStartIndex, System.Text.Json.Utf8JsonReader.ValueSequence, and System.Text.Json.Utf8JsonReader.ValueSpan.