Boost logo

Boost Users :

Subject: Re: [Boost-users] base64 encoding ?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-07-26 11:51:25


On 26/07/10 15:08, Timothy Madden wrote:
> Mathias Gaunard wrote:
>> On 26/07/10 11:45, Timothy Madden wrote:
>>> Hello
>>>
>>> I keep looking in the online docs, and I can find old discussions on the
>>> issue, but I can not find the function for base64 encoding in boost.
>>>
>>> Can anyone please direct me to it ? Is it still there in boost ?
>>
>> There is an iterator adaptor that does it in Boost.Serialization.
>
> What does this notation mean ? Boost.Serialization ?
>
> I found the Dataflow Iterators section in the documentation pages for
> Serialization library, but now I do now know what headers do I need to
> include for it. I would like to avoid the automatic linking of the
> library and only use the headers, as I am still to write a step in my
> project build process that would compile boost before compiling my
> source files.

boost/archive/iterators/binary_from_base64.hpp
boost/archive/iterators/base64_from_binary.hpp
boost/archive/iterators/transform_width.hpp

Note you'll have to transform width before you encode, and also after
you decode.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net