From ce5a6f6e4a0c134693e70d1baf78f2139d0ed45c Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 6 Nov 2018 20:32:51 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Net/HttpUtility.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index 7bef5365..cc4d4ce4 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -1164,18 +1164,6 @@ namespace WebSocketSharp.Net return urlDecodeToBytes (bytes, 0, bytes.Length); } - public static byte[] UrlDecodeToBytes (string s, Encoding encoding) - { - if (s == null) - throw new ArgumentNullException ("s"); - - if (s.Length == 0) - return new byte[0]; - - var bytes = (encoding ?? Encoding.UTF8).GetBytes (s); - return InternalUrlDecodeToBytes (bytes, 0, bytes.Length); - } - public static byte[] UrlDecodeToBytes (byte[] bytes, int offset, int count) { if (bytes == null)