
On 09/06/2011 20:43, Denis Shevchenko wrote:
Hi all!
Not so long ago I was looking for a solution to Base64 encoding/decoding.
In this page - http://www.boost.org/doc/libs/1_46_1/libs/serialization/doc/dataflow.html - I found example of such solution, with 'base64_from_binary' and 'transform_width' iteartors. But it is just a "blank", not ready-to-use solution.
I created solution. But I definitely know many developers looking for a simple, ready-to-use, header-only and 'real C++' solution for Base64. So I want to offer you such solution.
I also have one solution for base64. The code is short and trivial, it can be used with arbitrary input and output iterators or ranges, and can also be used to generate a range that computes base64 lazily as it is being iterated.