[Modify] Remove it
This commit is contained in:
parent
ef3a57aba2
commit
e8fee4f3c1
@ -1288,16 +1288,6 @@ namespace WebSocketSharp.Net
|
|||||||
return InternalUrlEncodeToBytes (bytes, 0, bytes.Length);
|
return InternalUrlEncodeToBytes (bytes, 0, bytes.Length);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string UrlEncodeUnicode (string s)
|
|
||||||
{
|
|
||||||
if (s == null)
|
|
||||||
throw new ArgumentNullException ("s");
|
|
||||||
|
|
||||||
return s.Length > 0
|
|
||||||
? Encoding.ASCII.GetString (InternalUrlEncodeUnicodeToBytes (s))
|
|
||||||
: s;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static byte[] UrlEncodeUnicodeToBytes (string s)
|
public static byte[] UrlEncodeUnicodeToBytes (string s)
|
||||||
{
|
{
|
||||||
if (s == null)
|
if (s == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user