(self, endpoint, data, timeout=0)
return self._bulkTransfer(endpoint, data, sizeof(data), timeout)
Synchronous bulk write.
        endpoint: endpoint to send data to.
        data: data to send.
        timeout: in milliseconds, how long to wait for device acknowledgement.
          Set to 0 to disable.

        Returns the number of bytes actually sent.
Synchronous bulk write.
        endpoint: endpoint to send data to.
        data: data to send.
        timeout: in milliseconds, how long to wait for device acknowledgement.
          Set to 0 to disable.
Synchronous bulk write . endpoint : endpoint to send data to . data : data to send . timeout : in milliseconds how long to wait for device acknowledgement . Set to 0 to disable .
def bulkWrite(self, endpoint, data, timeout=0):
        """
        Synchronous bulk write.
        endpoint: endpoint to send data to.
        data: data to send.
        timeout: in milliseconds, how long to wait for device acknowledgement.
          Set to 0 to disable.

        Returns the number of bytes actually sent.
        """
        endpoint = (endpoint & ~libusb1.USB_ENDPOINT_DIR_MASK) | \
                    libusb1.LIBUSB_ENDPOINT_OUT
        data = create_binary_buffer(data)
        return self._bulkTransfer(endpoint, data, sizeof(data), timeout)
def bulkWrite ( self , endpoint , data , timeout = 0 ) : endpoint = ( endpoint & ~ libusb1 . USB_ENDPOINT_DIR_MASK ) | libusb1 . LIBUSB_ENDPOINT_OUT data = create_binary_buffer ( data ) return self . _bulkTransfer ( endpoint , data , sizeof ( data ) , timeout )