libusb_get_string_descriptor_ascii method

int libusb_get_string_descriptor_ascii(
  1. Pointer<libusb_device_handle> dev_handle,
  2. int desc_index,
  3. Pointer<Uint8> data,
  4. int length,
)

Implementation

int libusb_get_string_descriptor_ascii(
  ffi.Pointer<libusb_device_handle> dev_handle,
  int desc_index,
  ffi.Pointer<ffi.Uint8> data,
  int length,
) {
  return (_libusb_get_string_descriptor_ascii ??= _dylib.lookupFunction<
          _c_libusb_get_string_descriptor_ascii,
          _dart_libusb_get_string_descriptor_ascii>(
      'libusb_get_string_descriptor_ascii'))(
    dev_handle,
    desc_index,
    data,
    length,
  );
}