[Modify] Polish it

master
sta 6 years ago
parent 07b752e572
commit 650ccc9daf

@ -226,6 +226,7 @@ namespace WebSocketSharp.Net
private static byte[] getChunkSizeBytes (int size) private static byte[] getChunkSizeBytes (int size)
{ {
var chunkSize = String.Format ("{0:x}\r\n", size); var chunkSize = String.Format ("{0:x}\r\n", size);
return Encoding.ASCII.GetBytes (chunkSize); return Encoding.ASCII.GetBytes (chunkSize);
} }

Loading…
Cancel
Save