// Calculate the maximum packet size which a specific endpoint is capable is sending or receiving in the duration of 1 microframe. func (d *Device) GetMaxIsoPacketSize(endpoint byte) int { return int(C.libusb_get_max_iso_packet_size(d.me(), C.uchar(endpoint))) }
func (dev *Device) GetMaxIsoPacketSize(endpoint int) (sz int, err *UsbError) { sz, err = decodeUsbError(C.libusb_get_max_iso_packet_size(dev.device, C.uchar(endpoint))) return }