libusb_get_port_numbers method

int libusb_get_port_numbers(
  1. Pointer<libusb_device> dev,
  2. Pointer<Uint8> port_numbers,
  3. int port_numbers_len
)

Implementation

int libusb_get_port_numbers(
  ffi.Pointer<libusb_device> dev,
  ffi.Pointer<ffi.Uint8> port_numbers,
  int port_numbers_len,
) {
  return (_libusb_get_port_numbers ??= _dylib.lookupFunction<
      _c_libusb_get_port_numbers,
      _dart_libusb_get_port_numbers>('libusb_get_port_numbers'))(
    dev,
    port_numbers,
    port_numbers_len,
  );
}