RCP API  6.61.0

◆ base64_decode()

size_t base64_decode ( const char *  source,
unsigned char *  target,
size_t  targetlen 
)

decode base64 encoded data

Parameters
sourcethe encoded data (zero terminated)
targetpointer to the target buffer
targetlenlength of the target buffer
Returns
length of converted data on success, -1 otherwise