How can I copy unmanaged data in C# and how fast is it?

Posted by Danvil on Stack Overflow See other posts from Stack Overflow or by Danvil
Published on 2010-04-17T12:46:20Z Indexed on 2010/04/17 12:53 UTC
Read the original article Hit count: 245

Filed under:

I have two unmanaged pointers in the form of IntPtr and want to copy data between them. How can I do this? I know the method Marshal.Copy, but it can only copy between unmanaged and managed. And the second part: Is copying unmanaged data from C# slower than doing it in unmanaged C/C++ using memcopy?

© Stack Overflow or respective owner

Related posts about c#