(self, endpoint, length, timeout=0)
return data.raw[:transferred]
Synchronous bulk read.
        timeout: in milliseconds, how long to wait for data. Set to 0 to
          disable.
        See bulkWrite for other parameters description.

        Returns received data.
Synchronous bulk read.
        timeout: in milliseconds, how long to wait for data. Set to 0 to
          disable.
        See bulkWrite for other parameters description.
Synchronous bulk read . timeout : in milliseconds how long to wait for data . Set to 0 to disable . See bulkWrite for other parameters description .
def bulkRead(self, endpoint, length, timeout=0):
        """
        Synchronous bulk read.
        timeout: in milliseconds, how long to wait for data. Set to 0 to
          disable.
        See bulkWrite for other parameters description.

        Returns received data.
        """
        endpoint = (endpoint & ~libusb1.USB_ENDPOINT_DIR_MASK) | \
                    libusb1.LIBUSB_ENDPOINT_IN
        data = create_binary_buffer(length)
        transferred = self._bulkTransfer(endpoint, data, length, timeout)
        return data.raw[:transferred]
def bulkRead ( self , endpoint , length , timeout = 0 ) : endpoint = ( endpoint & ~ libusb1 . USB_ENDPOINT_DIR_MASK ) | libusb1 . LIBUSB_ENDPOINT_IN data = create_binary_buffer ( length ) transferred = self . _bulkTransfer ( endpoint , data , length , timeout ) return data . raw [ : transferred ]