Converting DEC to HEX

I read from a serial device and I store the msg bytes one by one like in the example from [noiasca].
Is that what you meant or did I misunderstand you?

i'm too busy at the moment to go thru your code. i was hoping you could either identify the line #s or post the snippet

do you have them already in a byte array? if so show us your code and we might come up with a shorter version...