[Modify] Polish it

This commit is contained in:
sta 2021-12-08 19:42:30 +09:00
parent 735f7bf718
commit 8828432149

View File

@ -589,7 +589,13 @@ Extended Payload Length: {7}
) )
{ {
stream.ReadBytesAsync ( stream.ReadBytesAsync (
2, bytes => completed (processHeader (bytes)), error 2,
bytes => {
var frame = processHeader (bytes);
completed (frame);
},
error
); );
} }