Skip to content

Commit

Permalink
Updating the docs. (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgomes28 authored May 10, 2023
1 parent 9c8321e commit 9515cd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base64pp/include/base64pp/base64pp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::vector<std::uint8_t>> BASE64PP_EXPORT decode(std::string_view const encoded_str);
} // namespace base64pp

Expand Down

0 comments on commit 9515cd6

Please sign in to comment.