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

◆ TryGetInt64Core()

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

Definition at line 4574 of file Utf8JsonReader.cs.

4575 {
4576 if (Utf8Parser.TryParse(span, out long value2, out int bytesConsumed, '\0') && span.Length == bytesConsumed)
4577 {
4578 value = value2;
4579 return true;
4580 }
4581 value = 0L;
4582 return false;
4583 }
static bool TryParse(ReadOnlySpan< byte > source, out bool value, out int bytesConsumed, char standardFormat='\0')

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

Referenced by System.Text.Json.Utf8JsonReader.GetInt64WithQuotes(), and System.Text.Json.Utf8JsonReader.TryGetInt64().