firestring_estr_base64_decode3
Decode an estring encoded via base64 into another estring
Usage
#include <firestring.h>
-lfirestring
int firestring_estr_base64_decode(struct firestring_estr_t *destination, struct firestring_estr_t *source)
Overview
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.
Return value
0 if the string was decoded successfully; 1 if there was insufficient space in destination for the decoding to occur.
Releases
Unchanged in 6 releases since Debian 3.1 (Sarge).