Libusb wrappers
This reverts commit 7c55d36758.
7c55d36758
This reverts commit 42e4e1a37d.
42e4e1a37d
ways of calling out to cgo.
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.
Remove context close race condition
to sync on c.done channel before exiting.
Endpoint tests
check.
Transfer tests