I have an unsigned char array that represent an image, and I want to show it in a web page.
I get the array from ActiveX Control, and I want to show it in my web page using JavaScript, so I have to convert it to "base64 string", so my question is
how to convert unsigned char array to base64 string in c++?