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

◆ ToUInt64Key()

static ulong System.Net.WebUtility.HtmlEntities.ToUInt64Key ( ReadOnlySpan< char > entity)
inlinestaticprivate

Definition at line 362 of file WebUtility.cs.

363 {
364 ulong num = 0uL;
365 for (int i = 0; i < entity.Length; i++)
366 {
367 if (entity[i] > 'ΓΏ')
368 {
369 return 0uL;
370 }
371 num = (num << 8) | entity[i];
372 }
373 return num;
374 }

Referenced by System.Net.WebUtility.HtmlEntities.Lookup().