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

◆ TryGetUInt32Core()

bool System.Text.Json.Utf8JsonReader.TryGetUInt32Core ( out uint value,
ReadOnlySpan< byte > span )
inlinepackage

Definition at line 4640 of file Utf8JsonReader.cs.

4641 {
4642 if (Utf8Parser.TryParse(span, out uint value2, out int bytesConsumed, '\0') && span.Length == bytesConsumed)
4643 {
4644 value = value2;
4645 return true;
4646 }
4647 value = 0u;
4648 return false;
4649 }
static bool TryParse(ReadOnlySpan< byte > source, out bool value, out int bytesConsumed, char standardFormat='\0')

References System.Text.Json.Dictionary, System.Buffers.Text.Utf8Parser.TryParse(), and System.value.

Referenced by System.Text.Json.Utf8JsonReader.GetUInt32WithQuotes(), and System.Text.Json.Utf8JsonReader.TryGetUInt32().