convert integer array to the hex