Boost logo

Boost :

Subject: Re: [boost] base64?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2017-07-24 15:35:40


On 07/24/17 18:24, Greger via Boost wrote:
> Here is some documentation:
>
> http://www.multi.fi/~ghaga/base64docs/html/index.html

The interface documented there does not account for the possibility that
the original data may not be a string (of characters). My requirements
to a Base64 libraries would be:

- The library should be able to work with any binary data.
- It should be able to produce encoded/decoded data in a user-supplied
storage.
- I would like to be able to supply custom character conversion rules
and possibly disable trailing padding so that different variants of
Base64 (e.g. [1]) can be implemented.
- The library should be fast.

[1]: https://tools.ietf.org/html/rfc4648#section-5


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