Base64 encode and decode


I need to generate some data URLs ( within my JUCE application, which requires base64 encoding.

Grep'ing through the code, I see things like MemoryBlock::toBase64Encoding() but from old posts on the forum it seems this is a JUCE-specific base64 encoding which is different from the "traditional" (?) base64 scheme.  Is this still the case?


Yes - I actually have a proper base-64 encoding algorithm which we'll publish when we get chance..


Thanks for the reply, Jules.

In the meantime, anyone else in my situation that needs base64 encoding/decoding, here are two I found tonight where the license permits inclusion into any codebase:



This would be handy for me at the moment, is this due to make it into the JUCE codebase anytime soon?