def hex_decode(data):
    """
	Takes an array of number and turns them into a string of hex for printing.

	in: data - array of numbers [1,2,33,42,234]
	out: str - '0x1 0x02 0x21 0x2a 0xea'
	"""
    return ''.join(map('0x{:02X} '.format, data))
