22 references to HexConverter
System.Text.Encodings.Web (22)
System\Text\Encodings\Web\DefaultHtmlEncoder.cs (2)
120char asUpperHex = HexConverter.ToCharUpper((int)scalarValue); 197char asUpperHex = HexConverter.ToCharUpper((int)scalarValue);
System\Text\Encodings\Web\DefaultJavaScriptEncoder.cs (12)
138HexConverter.ToBytesBuffer((byte)value.Value, destination, 4); 139HexConverter.ToBytesBuffer((byte)((uint)value.Value >> 8), destination, 2); 149HexConverter.ToBytesBuffer((byte)highSurrogate, destination, 4); 150HexConverter.ToBytesBuffer((byte)((uint)highSurrogate >> 8), destination, 2); 153HexConverter.ToBytesBuffer((byte)lowSurrogate, destination, 10); 154HexConverter.ToBytesBuffer((byte)((uint)lowSurrogate >> 8), destination, 8); 189HexConverter.ToCharsBuffer((byte)value.Value, destination, 4); 190HexConverter.ToCharsBuffer((byte)((uint)value.Value >> 8), destination, 2); 200HexConverter.ToCharsBuffer((byte)highSurrogate, destination, 4); 201HexConverter.ToCharsBuffer((byte)((uint)highSurrogate >> 8), destination, 2); 204HexConverter.ToCharsBuffer((byte)lowSurrogate, destination, 10); 205HexConverter.ToCharsBuffer((byte)((uint)lowSurrogate >> 8), destination, 8);
System\Text\Encodings\Web\DefaultUrlEncoder.cs (8)
148HexConverter.ToBytesBuffer((byte)utf8lsb, destination, startingIndex: 1); 153HexConverter.ToBytesBuffer((byte)utf8lsb, destination, startingIndex: 4); 158HexConverter.ToBytesBuffer((byte)utf8lsb, destination, startingIndex: 7); 163HexConverter.ToBytesBuffer((byte)utf8lsb, destination, startingIndex: 10); 177HexConverter.ToCharsBuffer((byte)utf8lsb, destination, startingIndex: 1); 182HexConverter.ToCharsBuffer((byte)utf8lsb, destination, startingIndex: 4); 187HexConverter.ToCharsBuffer((byte)utf8lsb, destination, startingIndex: 7); 192HexConverter.ToCharsBuffer((byte)utf8lsb, destination, startingIndex: 10);