def read(self, n):
        """
        Try to read bytes from the underlying interface.

        Returns
        -------
        bytes
            The bytes received
        """
        logger.debug("Reading {} bytes...".format(n))
        bytes_ = self.impl.read(n)
        logger.debug("Received: {} bytes".format(len(bytes_)))
        return bytes_

        Try to read bytes from the underlying interface.

        Returns
        -------
        bytes
            The bytes received
        
electrum/plugins/jade/jadepy/jade.py