Add warning to g_base64_decode()

https://bugzilla.gnome.org/show_bug.cgi?id=696015
This commit is contained in:
David Schleef 2013-03-17 15:56:17 -07:00 committed by Matthias Clasen
parent a8811fb864
commit 9a08d81b0d

View File

@ -389,7 +389,9 @@ g_base64_decode_step (const gchar *in,
* @text: zero-terminated string with base64 text to decode
* @out_len: (out): The length of the decoded data is written here
*
* Decode a sequence of Base-64 encoded text into binary data
* Decode a sequence of Base-64 encoded text into binary data. Note
* that the returned binary data is not necessarily zero-terminated,
* so it should not be used as a character string.
*
* Return value: (transfer full) (array length=out_len) (element-type guint8):
* newly allocated buffer containing the binary data