
14 May
2010
14 May
'10
6:54 p.m.
on 14.05.2010 at 20:55 deninok wrote :
Hi all!
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 ... }
Library uses boost::dynamic_bitset.
actually i'm not interested in such a lib yet i just have a suggestion: it's better to use type encode(const type &src); instead of void encode(const type &src, type &dest); such that the use case becomes std::string enc = encode(pure); -- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out