[Modify] Polish it

This commit is contained in:
sta 2021-03-08 21:12:35 +09:00
parent 7790de7846
commit 1c842fedaf

View File

@ -333,8 +333,10 @@ namespace WebSocketSharp.Net
_saved.Length = 0;
}
if (offset < length)
write (buffer, offset, length);
if (offset >= length)
return;
write (buffer, offset, length);
}
private InputChunkState writeData (