I have two functions that I am trying to call from C# that shares similar signatures:
BOOL Read (BYTE Len, BYTE* DataBuf)
BOOL Write (BYTE Len, BYTE* DataBuf)
From the Doc: DataBuf Destination of transmitted data
What shall I use in C# call?
- byte[]
- myByteArr[0]
- P/Invoke Assistant suggested System.IntPtr
Don't have the hardware to test yet, but i am trying to get as many of calls right for when we have.
Thanks.