From ad2046a123e0181aafc4519c6dcbe65960d549ad Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 15 Nov 2018 20:02:28 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Net/HttpUtility.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index ddc47a30..231073c7 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -499,17 +499,6 @@ namespace WebSocketSharp.Net || 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) { using (var buff = new MemoryStream ()) {