My program stores images in mysql blob field.
I can retrieve it into char* and I know it's length.
To make a backup of that data I need to convert it to something like this:
I tried something like this:
But the output is not what I wanted. How do I convert it properly?Code:
strtol( str, &szStop, 16 );
std::cout << szStop;
Thanks in advance!