base64_encode() function
base64_encode - Base64 encode @src: Data to be encoded @len: Length of the data to be encoded @out_len: Pointer to output length variable, or %NULL if not used Returns: Allocated buffer of out_len bytes of encoded data, or %NULL on failure Caller is responsible for freeing the returned buffer. Returned buffer is nul terminated to make it easier to use as a C string. The nul terminator is not included in out_len.
Syntax
char * base64_encode(const void *src,
size_t len,
size_t *out_len);
base64_encode() is called by 1 function and calls 1 function:
![]()
base64_encode()
base64_encode() reads 1 variable:
![]()
base64_encode()