[Modify] Remove it

This commit is contained in:
sta 2018-11-09 19:54:42 +09:00
parent 2e673e0b0e
commit ff1be47f2c

View File

@ -804,20 +804,6 @@ namespace WebSocketSharp.Net
return null; return null;
} }
internal static byte[] InternalUrlEncodeToBytes (
byte[] bytes, int offset, int count
)
{
using (var buff = new MemoryStream ()) {
var end = offset + count;
for (var i = offset; i < end; i++)
urlEncode (bytes[i], buff);
buff.Close ();
return buff.ToArray ();
}
}
internal static bool TryGetEncoding ( internal static bool TryGetEncoding (
string contentType, out Encoding result string contentType, out Encoding result
) )