How to save HEX array to String?

@johnwasser Thanks a lot, it worked as expected!.
Please, could you explain me what is the purpose of these two lines in your code:

 inputString += "0123456789ABCDEF"[incomingByte / 16];
 inputString += "0123456789ABCDEF"[incomingByte % 16];