libusb_dev_mem_alloc method

Pointer<Uint8> libusb_dev_mem_alloc(
  1. Pointer<libusb_device_handle> dev_handle,
  2. int length
)

Implementation

ffi.Pointer<ffi.Uint8> libusb_dev_mem_alloc(
  ffi.Pointer<libusb_device_handle> dev_handle,
  int length,
) {
  return (_libusb_dev_mem_alloc ??= _dylib.lookupFunction<
      _c_libusb_dev_mem_alloc,
      _dart_libusb_dev_mem_alloc>('libusb_dev_mem_alloc'))(
    dev_handle,
    length,
  );
}