libusb_get_max_packet_size method
Implementation
int libusb_get_max_packet_size(
ffi.Pointer<libusb_device> dev,
int endpoint,
) {
return (_libusb_get_max_packet_size ??= _dylib.lookupFunction<
_c_libusb_get_max_packet_size,
_dart_libusb_get_max_packet_size>('libusb_get_max_packet_size'))(
dev,
endpoint,
);
}