How to change binary data buffer read from a binary file to string format

  • Thread starter Thread starter Anderson
  • Start date Start date
A

Anderson

Dear all,
Could anyone tell me how to convert binary data in buffer to string
format,thanks in advance!

Anderson
 
Anderson said:
Dear all,
Could anyone tell me how to convert binary data in buffer to string
format,thanks in advance!

The most convenient and used way is to encode to Base64.

ATL has some of these very handy utilities (no need to reinvent the wheel),
see atlenc.h
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top