[Modify] Remove it

This commit is contained in:
sta 2020-02-05 19:41:34 +09:00
parent 2d67c5cba6
commit f88981c8d8

View File

@ -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);