libusb_control_transfer_get_data

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.

\param transfer a transfer \returns pointer to the first byte of the data section

extern (C)
char*
libusb_control_transfer_get_data

Meta