[Modify] Remove it

This commit is contained in:
sta 2019-01-03 17:54:15 +09:00
parent 455fa52e1f
commit 0fa08bcb42

View File

@ -1119,22 +1119,6 @@ namespace WebSocketSharp.Net
return urlEncodeToBytes (bytes, 0, bytes.Length);
}
public static string UrlPathEncode (string s)
{
if (s == null)
throw new ArgumentNullException ("s");
if (s.Length == 0)
return s;
var buff = new StringBuilder ();
foreach (var c in s)
urlPathEncode (c, buff);
return buff.ToString ();
}
#endregion
}
}