From 5f01dfe31fc68a15aa94d37aa4ec5f8c103078e2 Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 7 Nov 2018 19:49:27 +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 347bb04d..5045c9ba 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -806,17 +806,6 @@ namespace WebSocketSharp.Net } } - internal static byte[] InternalUrlEncodeUnicodeToBytes (string s) - { - using (var buff = new MemoryStream ()) { - foreach (var c in s) - urlEncodeUnicode (c, buff); - - buff.Close (); - return buff.ToArray (); - } - } - internal static bool TryGetEncoding ( string contentType, out Encoding result )