[Modify] Polish it
This commit is contained in:
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…
Reference in New Issue
Block a user