Blame doc/functions/gnutls_base64_encode2

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_base64_encode2} (const gnutls_datum_t * @var{data}, gnutls_datum_t * @var{result})
Packit aea12f
@var{data}: contains the raw data
Packit aea12f
Packit aea12f
@var{result}: will hold the newly allocated encoded data
Packit aea12f
Packit aea12f
This function will convert the given data to printable data, using
Packit aea12f
the base64 encoding. This function will allocate the required
Packit aea12f
memory to hold the encoded data.
Packit aea12f
Packit aea12f
You should use @code{gnutls_free()}  to free the returned data.
Packit aea12f
Packit aea12f
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise
Packit aea12f
an error code is returned.
Packit aea12f
Packit aea12f
@strong{Since:} 3.6.0
Packit aea12f
@end deftypefun