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

◆ HtmlDecode() [2/3]

static ? string System.Net.WebUtility.HtmlDecode ( string? value)
inlinestatic

Definition at line 504 of file WebUtility.cs.

505 {
506 if (string.IsNullOrEmpty(value))
507 {
508 return value;
509 }
510 ReadOnlySpan<char> input = value.AsSpan();
512 if (num == -1)
513 {
514 return value;
515 }
517 if (value.Length <= 256)
518 {
521 }
522 else
523 {
525 }
527 output.Append(input.Slice(0, num));
528 HtmlDecode(input.Slice(num), ref output);
529 return output.ToString();
530 }
static ? string HtmlDecode(string? value)
static int IndexOfHtmlDecodingChars(ReadOnlySpan< char > input)

References System.Net.WebUtility.HtmlDecode(), System.Net.WebUtility.IndexOfHtmlDecodingChars(), System.input, and System.value.

Referenced by System.Web.Util.HttpEncoder.HtmlDecode(), System.Web.Util.HttpEncoder.HtmlDecode(), System.Net.WebUtility.HtmlDecode(), and System.Net.WebUtility.HtmlDecode().