Copies data into PtrData.


- data (Object)
Data buffer to copy into PtrDatafor an output control transfer.
This value can be:- An Array of bytes or other blittable types.
- An already allocated, pinned GCHandle. In this case AddrOfPinnedObject()()()() is used for the buffer address.
- An IntPtr.
- offset (Int32)
- The offset in data to begin copying.
- length (Int32)
- Number of to copy.