This works only if T is byte. A more generic test would be:
```csharp
Debug.Assert(data.Length * BlittableValueType.StrideOf(data) >= (_viewport.Width * _viewport.Height * 4));
```

(Is there a reason to check for == instead of >= ?)