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
 
Back
Top