VisualBasic.NET: How do you copy from one section of unmanaged memory to another
without using managed memory? I know you can declare a byte array of the right size and use Marshal.Copy twice, to transfer unmanaged --> managed and then managed --> unmanaged, but this is inefficient, so how do I do it in one step that doesn't involve managed memory?
|