In C, what is the most efficient way to convert a string of hex digits into a binary unsigned int or unsigned long?
unsigned int
unsigned long
For example, if I have
For larger Hex strings like in the example I needed to use strtoul.