code: def read_data(self, size):
          
          result = self.dev.bulkRead(0x81, size, timeout=1200)
          if not result or len(result) < size:
              raise IOError('pywws.device_libusb1.USBDevice.read_data failed')
          # Python2 libusb1 version 1.5 and earlier returns a string
          if not isinstance(result[0], int):
              result = map(ord, result)
          return list(result)
docs: Receive data from the device.
  
          If the read fails for any reason, an :obj:`IOError` exception
          is raised.
  
          :param size: the number of bytes to read.
  
          :type size: int
  
          :return: the data received.
  
          :rtype: list(int)