ELinks 0.16.1.1
base64.h File Reference
This graph shows which files directly or indirectly include this file:

Functions

char * base64_encode (char *)
char * base64_decode (const char *)
char * base64_encode_bin (char *, int, int *)
char * base64_decode_bin (const char *, int, int *)
 Decode a Base64 string.

Function Documentation

◆ base64_decode()

char * base64_decode ( const char * in)

◆ base64_decode_bin()

char * base64_decode_bin ( const char * in,
int inlen,
int * outlen )

Decode a Base64 string.

Parameters
inInput Base64 string
inlenLength of in, in bytes
[out]outlenLength of decoded string
Returns
the string decoded (must be freed by the caller) or NULL if an error occurred (syntax error or out of memory)

◆ base64_encode()

char * base64_encode ( char * in)

◆ base64_encode_bin()

char * base64_encode_bin ( char * in,
int inlen,
int * outlen )