private static async Task DispatchDeltaAsync(Control control, Bitmap bitmap, IProtocolStream stream) { var buffer = await stream.ReceiveAsync(); control.Invoke(new Action(() => { int len = buffer.DecompressQuick(_bufferUncompressed); ProcessDelta(bitmap, _bufferUncompressed, 0, len); control.Refresh(); })); }