'Print hex with leading zeroes' by Arduino, skips first value?

I'm testing the 'Print hex with leading zeroes' solution found here (Print hex with leading zeroes).

But as shown, this code does not format the first number of the data.

So this '0x00, 0x5A, 0x58, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00'
Formats as this: 0x00 5A 58 00 07 00 00 00 00

I can't understand studying the code, why the first value isn't formatted.

Any advice to correct this appreciated.

What do you mean by

Do you mean the 0x00 is shown as 0x00 ? and you are expecting just 00?

That's because the first thing is does is print...

        Serial.print("0x"); 

Thanks red_car, I see that now.
Hopefully this is my last embarrassment of the year. :wink:

You have one more day.