Decode an estring encoded via base64 into another estring
#include <firestring.h>
-lfirestring
int firestring_estr_base64_decode(struct firestring_estr_t *destination, struct firestring_estr_t *source)
firestring_estr_base64_decode() decodes the contents of source using the base64 algorithm into destination, provided that there is room in destination. The minimum required space in destination is the length of source * 3 / 4 + 3. The buffers source and destination may be the same estring.
0 if the string was decoded successfully; 1 if there was insufficient space in destination for the decoding to occur.
Ian Gulliver <[email protected]>