Function that allow the encoding and decoding of base64 Eina_Binbuf. More...
Functions | |
Eina_Strbuf * | emile_base64_encode (const Eina_Binbuf *in) |
base64 encoding function. More... | |
Eina_Strbuf * | emile_base64url_encode (const Eina_Binbuf *in) |
base64 url and filename safe encoding function. More... | |
Eina_Binbuf * | emile_base64_decode (const Eina_Strbuf *in) |
base64 decoding function. More... | |
Eina_Binbuf * | emile_base64url_decode (const Eina_Strbuf *in) |
decoding function for base64 url and filename safe encoding. More... | |
Function that allow the encoding and decoding of base64 Eina_Binbuf.
Eina_Strbuf * emile_base64_encode | ( | const Eina_Binbuf * | in | ) |
base64 encoding function.
in | The buffer to be encoded. |
This will create a string which is base64 encode of the buffer. The caller has to free the returned string using eina_strbuf_free().
References EINA_FALSE.
Eina_Strbuf * emile_base64url_encode | ( | const Eina_Binbuf * | in | ) |
base64 url and filename safe encoding function.
in | The buffer to be encoded. |
This will create a string which is base64 encoded with url and filename safe alphabet of the src. The caller has to free the returned string using eina_strbuf_free(). There will be no padding in the encoded string.
References EINA_TRUE.
Eina_Binbuf * emile_base64_decode | ( | const Eina_Strbuf * | in | ) |
base64 decoding function.
in | The string to be decoded. |
This will create a buffer which is base64 decode of the src. The caller has to free the returned string using eina_binbuf_free().
References EINA_FALSE.
Eina_Binbuf * emile_base64url_decode | ( | const Eina_Strbuf * | in | ) |
decoding function for base64 url and filename safe encoding.
in | The string to be decoded. |
This will create a buffer which is base64 url decode of the src. The caller has to free the returned string using eina_binbuf_free().
References EINA_TRUE.