If you have to remove the readonly
MemoryMarshal.CreateSpan(ref MemoryMarshal.GetReference(ros), ros.Length)
Though guessing the ToRgb is trying to use Span rather than ROS overload?
If you have to remove the readonly
MemoryMarshal.CreateSpan(ref MemoryMarshal.GetReference(ros), ros.Length)
Though guessing the ToRgb is trying to use Span rather than ROS overload?