extracted from the device. Makes testing easier.
a fake libusb xfer underneath.
Change the interface a bit.
add a data() method, to avoid reaching into any xfer fields.
newUSBTransfer.
descriptor in the transfer struct.
complain about the incompatible pointer types.
Use pkg-config to add correct include paths for libusb regardless of the platform.
Initialize all static params at new.
transferring data is the same as the one that was created in newUSBTransfer.
in t.buf.
transfer.c
move transfer callback to transfer.go.
types.