I need a base64 encoding function to encode a string of characters. A decode() would be nice too.
Must be in C (no STL) and as source code.

MANY THANKS
Peter