Hacker News new | ask | show | jobs
by orphea 31 days ago
Not really, because IntPtr is just a native-sized integer.

Marshal.Copy will certainly be marked unsafe, as will anything else that touches unmanaged memory.