From af388ffb12ca495bdaedc2c6e57cae200bdb6f41 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Wed, 10 Jan 2018 12:56:02 +0100 Subject: [PATCH] Base64: Improved documentation of base64_decode(). --- ucw/base64.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ucw/base64.h b/ucw/base64.h index af07488e..a8edc363 100644 --- a/ucw/base64.h +++ b/ucw/base64.h @@ -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); -- 2.39.2