(string)
return res
Translate a string to a string with its hexadecimal value.

    Args:
        string (str): A string to be translated.
    Returns:
        str: The translated string.

    Examples:
        >>> isbg.utils.hexof('isbg')
        '69736267'
Translate a string to a string with its hexadecimal value.
Translate a string to a string with its hexadecimal value .
def hexof(string):
    """Translate a string to a string with its hexadecimal value.

    Args:
        string (str): A string to be translated.
    Returns:
        str: The translated string.

    Examples:
        >>> isbg.utils.hexof('isbg')
        '69736267'

    """
    res = ""
    for i in string:
        res = res + ("%02x" % ord(i))
    return res
def hexof ( string ) : res = "" for i in string : res = res + ( "%02x" % ord ( i ) ) return res