@staticmethod
def convert_int_pointer_to_str_hex(i):
    """Converts a memory pointer integer to hex pointer string.

        For example, if i = 73588229205, '5544332211' is returned. The int is
        converted to hex string (with '0x' omitted) and then reversed. This is
        useful for obtaining hex pointers which are represented in memory in
        little endian format. Note that if the hex string has an odd length
        (e.g. '22b'), a '0' is padded to the last byte string so that '0b22' is
        returned.
        """
    str_hex = f'{i:02x}'
    if len(str_hex) % 2:
        str_hex = str_hex[:-1] + '0' + str_hex[-1:]
    str_hex = bytearray.fromhex(str_hex)
    str_hex.reverse()
    return str_hex.hex()
