D 
		
								
				
				
			
		Dave
We are writing some code to interface to a DLL.  The DLL
has a callback method that returns the address of a byte
buffer and the buffer length. I have defined the byte
pointer as an IntPtr.
How do I convert between the IntPtr and my managed byte[]
that I want to copy the data into???
-dave
				
			has a callback method that returns the address of a byte
buffer and the buffer length. I have defined the byte
pointer as an IntPtr.
How do I convert between the IntPtr and my managed byte[]
that I want to copy the data into???
-dave