]> mj.ucw.cz Git - libucw.git/commitdiff
Base64: Improved documentation of base64_decode().
authorPavel Charvat <pchar@ucw.cz>
Wed, 10 Jan 2018 11:56:02 +0000 (12:56 +0100)
committerPavel Charvat <pchar@ucw.cz>
Wed, 10 Jan 2018 11:56:02 +0000 (12:56 +0100)
ucw/base64.h

index af07488eaefdc5e599bb4669e07d50540f19dbfd..a8edc36372bc1780deacdf517b7a8d282d58754c 100644 (file)
@@ -24,7 +24,8 @@ uint base64_encode(byte *dest, const byte *src, uint len);
 /**
  * Decodes @len bytes of data pointed to by @src from base64 encoding.
  * All invalid characters are ignored. The result is stored into @dest
- * and length of the result is returned.
+ * and length of the result is returned. It is allowed to use the
+ * same buffer for both input and output.
  */
 uint base64_decode(byte *dest, const byte *src, uint len);