18 references to HttpEncoder
System.Web.HttpUtility (18)
System\Web\HttpUtility.cs (18)
137public static string? HtmlDecode(string? s) => HttpEncoder.HtmlDecode(s);
139public static void HtmlDecode(string? s, TextWriter output) => HttpEncoder.HtmlDecode(s, output);
142public static string? HtmlEncode(string? s) => HttpEncoder.HtmlEncode(s);
153public static void HtmlEncode(string? s, TextWriter output) => HttpEncoder.HtmlEncode(s, output);
156public static string? HtmlAttributeEncode(string? s) => HttpEncoder.HtmlAttributeEncode(s);
158public static void HtmlAttributeEncode(string? s, TextWriter output) => HttpEncoder.HtmlAttributeEncode(s, output);
164public static string? UrlPathEncode(string? str) => HttpEncoder.UrlPathEncode(str);
209return HttpEncoder.UrlDecode(bytes.Slice(0, encodedBytes));
216public static byte[]? UrlDecodeToBytes(byte[]? bytes) => bytes == null ? null : HttpEncoder.UrlDecode(bytes);
219public static byte[]? UrlEncodeToBytes(string? str, Encoding e) => str == null ? null : HttpEncoder.UrlEncode(str, e);
222public static byte[]? UrlEncodeToBytes(byte[]? bytes, int offset, int count) => HttpEncoder.UrlEncode(bytes, offset, count);
226public static string? UrlEncodeUnicode(string? str) => HttpEncoder.UrlEncodeUnicode(str);
229public static string? UrlDecode(string? str, Encoding e) => HttpEncoder.UrlDecode(str, e);
231private static string UrlDecode(ReadOnlySpan<char> str, Encoding e) => HttpEncoder.UrlDecode(str, e);
235HttpEncoder.UrlDecode(bytes, offset, count, e);
238public static byte[]? UrlDecodeToBytes(byte[]? bytes, int offset, int count) => HttpEncoder.UrlDecode(bytes, offset, count);
240public static string JavaScriptStringEncode(string? value) => HttpEncoder.JavaScriptStringEncode(value, false);
242public static string JavaScriptStringEncode(string? value, bool addDoubleQuotes) => HttpEncoder.JavaScriptStringEncode(value, addDoubleQuotes);