[Modify] Remove it

This commit is contained in:
sta 2018-11-15 20:02:28 +09:00
parent dc7c8f0e2c
commit ad2046a123

View File

@ -499,17 +499,6 @@ namespace WebSocketSharp.Net
|| c == '~'; || c == '~';
} }
private static void urlDecode (byte[] bytes, int offset, Stream output)
{
var num = getNumber (bytes, offset + 1, 2);
if (num == -1) {
output.Write (bytes, offset, 3);
return;
}
output.WriteByte ((byte) num);
}
private static byte[] urlDecodeToBytes (byte[] bytes, int offset, int count) private static byte[] urlDecodeToBytes (byte[] bytes, int offset, int count)
{ {
using (var buff = new MemoryStream ()) { using (var buff = new MemoryStream ()) {