From d4399f618836818135b180500ff20a71498d48a7 Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 27 Oct 2018 20:59:36 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Net/HttpUtility.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index c140efb3..72ca9594 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -560,20 +560,6 @@ namespace WebSocketSharp.Net } } - private static void urlDecodeUnicode ( - byte[] bytes, int offset, Stream output - ) - { - var num = getNumber (bytes, offset + 2, 4); - if (num == -1) { - output.Write (bytes, offset, 6); - return; - } - - var decoded = Encoding.Unicode.GetBytes (new[] { (char) num }); - output.Write (decoded, 0, decoded.Length); - } - private static void urlEncode (byte b, Stream output) { if (b > 31 && b < 127) {