libusb_get_device_descriptor method

int libusb_get_device_descriptor(
  1. Pointer<libusb_device> dev,
  2. Pointer<libusb_device_descriptor> desc
)

Implementation

int libusb_get_device_descriptor(
  ffi.Pointer<libusb_device> dev,
  ffi.Pointer<libusb_device_descriptor> desc,
) {
  return _libusb_get_device_descriptor(
    dev,
    desc,
  );
}