Convert Char string to an array of uint8_t
===

I'm reading a string from a file so it's in the form of a char array.  I need to tokenize the string and save each char array token as a uint8_t hex value in an array.

char* starting = "001122AABBCC";
...
uint8_t[] ending = {0x00,0x11,0x22,0xAA,0xBB,0xCC}

How can I convert from the starting to ending?  Thanks.