libusb_bulk_transfer method

int libusb_bulk_transfer(
  1. Pointer<libusb_device_handle> dev_handle,
  2. int endpoint,
  3. Pointer<Uint8> data,
  4. int length,
  5. Pointer<Int32> actual_length,
  6. int timeout,
)

Implementation

int libusb_bulk_transfer(
  ffi.Pointer<libusb_device_handle> dev_handle,
  int endpoint,
  ffi.Pointer<ffi.Uint8> data,
  int length,
  ffi.Pointer<ffi.Int32> actual_length,
  int timeout,
) {
  return _libusb_bulk_transfer(
    dev_handle,
    endpoint,
    data,
    length,
    actual_length,
    timeout,
  );
}