[Modify] Remove it

This commit is contained in:
sta 2018-11-07 19:49:27 +09:00
parent 8f452670b5
commit 5f01dfe31f

View File

@ -806,17 +806,6 @@ namespace WebSocketSharp.Net
} }
} }
internal static byte[] InternalUrlEncodeUnicodeToBytes (string s)
{
using (var buff = new MemoryStream ()) {
foreach (var c in s)
urlEncodeUnicode (c, buff);
buff.Close ();
return buff.ToArray ();
}
}
internal static bool TryGetEncoding ( internal static bool TryGetEncoding (
string contentType, out Encoding result string contentType, out Encoding result
) )