firestring_estr_base64_decode(3) decode an estring encoded via base64 into another estring

SYNOPSIS

#include <firestring.h>
-lfirestring

int firestring_estr_base64_decode(struct firestring_estr_t *destination, struct firestring_estr_t *source)

DESCRIPTION

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.

AUTHOR

Ian Gulliver <[email protected]>