diff --git a/websocket-sharp/Net/ResponseStream.cs b/websocket-sharp/Net/ResponseStream.cs index 0a3ffaa9..03907622 100644 --- a/websocket-sharp/Net/ResponseStream.cs +++ b/websocket-sharp/Net/ResponseStream.cs @@ -215,12 +215,6 @@ namespace WebSocketSharp.Net return Encoding.ASCII.GetBytes (chunkSize); } - private static byte[] getChunkSizeBytes (int size, bool final) - { - var chunkSize = String.Format ("{0:x}\r\n{1}", size, final ? "\r\n" : ""); - return Encoding.ASCII.GetBytes (chunkSize); - } - private void writeChunked (byte[] buffer, int offset, int count) { var size = getChunkSizeBytes (count);