From f8253c3e3c1573123e4a550171a65ba71b913690 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sun, 16 Jan 2022 13:21:01 +0100 Subject: [PATCH] Update Base64.hpp --- include/assimp/Base64.hpp | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/include/assimp/Base64.hpp b/include/assimp/Base64.hpp index 9db71c314..894eb449b 100644 --- a/include/assimp/Base64.hpp +++ b/include/assimp/Base64.hpp @@ -3,7 +3,7 @@ Open Asset Import Library (assimp) --------------------------------------------------------------------------- -Copyright (c) 2006-2021, assimp team +Copyright (c) 2006-2022, assimp team All rights reserved. @@ -48,19 +48,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include namespace Assimp { - namespace Base64 { -void Encode(const uint8_t *in, size_t inLength, std::string &out); -void Encode(const std::vector& in, std::string &out); -std::string Encode(const std::vector& in); +void Encode(const uint8_t *in, size_t inLength, std::string &out); +void Encode(const std::vector& in, std::string &out); +std::string Encode(const std::vector& in); -size_t Decode(const char *in, size_t inLength, uint8_t *&out); -size_t Decode(const std::string& in, std::vector& out); -std::vector Decode(const std::string& in); +size_t Decode(const char *in, size_t inLength, uint8_t *&out); +size_t Decode(const std::string& in, std::vector& out); +std::vector Decode(const std::string& in); -} - -} +} // namespace Base64 +} // namespace Assimp #endif // AI_BASE64_HPP_INC