Ben {chmark} Adams
banner
benaadams.me
Ben {chmark} Adams
@benaadams.me
Co-founder and CTO of Illyriad Games, 9x Microsoft MVP, contributor to Nethermind. Prev dotnetfdn board member.
MemoryMarshal.AsBytes is more efficient for casting to bytes as it doesn't need to confirm exact alignments

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?
February 11, 2025 at 8:43 PM
great now apparently I have no handle; it was a trap
January 23, 2025 at 12:44 PM
Now am going to have to spend ages thinking of a good personal domain 🤔
January 23, 2025 at 12:26 PM