[Modify] Polish it

This commit is contained in:
sta 2021-03-09 19:44:09 +09:00
parent 1c842fedaf
commit 8058f23f96

View File

@ -230,7 +230,10 @@ namespace WebSocketSharp.Net
offset--;
}
while (offset < length && _trailerState < 4) {
while (offset < length) {
if (_trailerState == 4)
break;
var b = buffer[offset++];
_saved.Append ((char) b);