[Modify] Remove it

This commit is contained in:
sta 2019-01-03 17:56:19 +09:00
parent 0fa08bcb42
commit eb5704be1a

View File

@ -661,20 +661,6 @@ namespace WebSocketSharp.Net
}
}
private static void urlPathEncode (char c, StringBuilder output)
{
if (c > 32 && c < 127) {
output.Append (c);
return;
}
var bytes = Encoding.UTF8.GetBytes (new[] { c });
foreach (var b in bytes) {
var i = (int) b;
output.AppendFormat ("%{0}{1}", _hexChars[i >> 4], _hexChars[i & 0x0F]);
}
}
#endregion
#region Internal Methods