scott mcfadden
2/6/2007 12:34:00 AM
I have a native C++ dll that stuffs a BYTE* buffer and returns the number of
bytes pointed to. I would like to copy the contents of this native buffer
to a managed memory stream. What is the most efficient way to do this? I
guess that I could loop through each byte and copying each byte to the
memory stream one by one but was wondering if there was a better way..
thanks
sm