Beispiel #1
0
 protected bool ReadIntPipe(byte[] buffer, int length, ref int transfered)
 {
     return(IsActive && WinUsbWrapper.ReadPipe(_winUsbHandle, IntIn, buffer, length, ref transfered, IntPtr.Zero));
 }
Beispiel #2
0
 protected bool WriteBulkPipe(byte[] buffer, int length, ref int transfered)
 {
     return(IsActive && WinUsbWrapper.WritePipe(_winUsbHandle, BulkOut, buffer, length, ref transfered, IntPtr.Zero));
 }