L
lallous
Hello
I am writing managed c++/c++ native code.
We have soem buffer passed as char* from native, and we want to pass to a
managed MemoryStream object.
Is it possible to have a Byte [] reference that char* and then we set the
Byte[] size?
Or this:
http://msdn2.microsoft.com/en-us/library/tz333b9s(vs.80).aspx
Is the only suggest way?
The reason I look for an alternative is that because I come fron a native
background and copying memory over and over is a concern.
I am writing managed c++/c++ native code.
We have soem buffer passed as char* from native, and we want to pass to a
managed MemoryStream object.
Is it possible to have a Byte [] reference that char* and then we set the
Byte[] size?
Or this:
http://msdn2.microsoft.com/en-us/library/tz333b9s(vs.80).aspx
Is the only suggest way?
The reason I look for an alternative is that because I come fron a native
background and copying memory over and over is a concern.