libusb_control_transfer_get_data() function
Get the data section of a control transfer. This convenience function is here to remind you that the data does not start until 8 bytes into the actual buffer, as the setup packet comes first. Calling this function only makes sense from a transfer callback function, or situations where you have already allocated a suitably sized buffer at transfer->buffer.
Arguments
Return value
pointer to the first byte of the data section
Location | Text |
libusb.h:1714 | static inline unsigned char *libusb_control_transfer_get_data( |
Data read by libusb_control_transfer_get_data()
libusb_control_transfer_get_data()