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