def dump_hex(self, data):
return "<STR_LIT>" % ('<STR_LIT>'.join('<STR_LIT>'.format(x) for x in data)).upper()<EOL>
Given some bytes return the hex representation.

        :param data: bytearray to be formatted as a string
        :type data: bytearray

        :return: The formatted bytes as a readable hex string.
        :rtype: string