From 9515cd68a6d5bfb006d0b401a83adfd47da96813 Mon Sep 17 00:00:00 2001 From: matheusgomes28 Date: Wed, 10 May 2023 14:01:40 +0100 Subject: [PATCH] Updating the docs. (#101) --- base64pp/include/base64pp/base64pp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base64pp/include/base64pp/base64pp.h b/base64pp/include/base64pp/base64pp.h index 8514f1b..d71f226 100644 --- a/base64pp/include/base64pp/base64pp.h +++ b/base64pp/include/base64pp/base64pp.h @@ -27,6 +27,8 @@ namespace base64pp //! @param encoded_str - the base64 encoded string //! @return an optional containing a valid blob of data, if //! decoding was successful. Otherwise, returns std::nullopt + //! @note this function accepts unpadded strings, if they are valid + //! otherwise. It rejects odd-sized unpadded strings. std::optional> BASE64PP_EXPORT decode(std::string_view const encoded_str); } // namespace base64pp