write char* converted from void * in stringstream

i am trying to first convert void* which conatained publish data into char * and then i am trying to put it in stringstream .The whole scenario is run in diffrent threads fired in milliseconds.Most of the time the data is not written on the string stream but i can print the characters.Can you please tell me a way of put this char* data in the stringstream
Thanks
If you "know" it points to a char array, use static_cast.
Last edited on
Topic archived. No new replies allowed.