(self)
Generates lines of ASCII-encoded hexadecimal strings.

        Yields:
          One line of a hex string.
Generates lines of ASCII-encoded hexadecimal strings.
Generates lines of ASCII - encoded hexadecimal strings .
def to_lines(self):
        """Generates lines of ASCII-encoded hexadecimal strings.

        Yields:
          One line of a hex string.
        """
        for start_i in range(0, len(self._data), self.HEX_LINE_LENGTH_BYTES):
            end_i = start_i + self.HEX_LINE_LENGTH_BYTES
            if end_i > len(self._data):
                end_i = len(self._data)
            yield bytes(bytes_to_hex(bytes(self._data[start_i:end_i])),
                        encoding='ascii') + b'\n'
def to_lines ( self ) : for start_i in range ( 0 , len ( self . _data ) , self . HEX_LINE_LENGTH_BYTES ) : end_i = start_i + self . HEX_LINE_LENGTH_BYTES if end_i > len ( self . _data ) : end_i = len ( self . _data ) yield bytes ( bytes_to_hex ( bytes ( self . _data [ start_i : end_i ] ) ) , encoding = 'ascii' ) + b'\n'