Boost logo

Boost :

Subject: Re: [boost] Library for base64
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2010-05-15 08:03:13


deninok wrote:
> Is there any interest in a library for base64 encoding?
>
> Something like this:
>
> int main() {
> base64_encoder encode;
>
> std::string pure = "Hello world!";
> std::string enc;
>
> encode( pure, enc );
> // In enc: SGVsbG8gd29ybGQh
> ...
> }

My own effort at base64 decoding as an iterator adaptor is here, in
case anyone is interested:

     http://svn.chezphil.org/libpbe/trunk/include/base64.hh

Regards, Phil.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk