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

◆ TryGetUInt64Core()

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

Definition at line 4673 of file Utf8JsonReader.cs.

4674 {
4675 if (Utf8Parser.TryParse(span, out ulong value2, out int bytesConsumed, '\0') && span.Length == bytesConsumed)
4676 {
4677 value = value2;
4678 return true;
4679 }
4680 value = 0uL;
4681 return false;
4682 }
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.GetUInt64WithQuotes(), and System.Text.Json.Utf8JsonReader.TryGetUInt64().