Mercurial > hg > orthanc
view Resources/ThirdParty/base64/base64.h @ 3489:e7723a39adf8
Fixed alignment issue in Toolbox::DetectEndianness() + made the internal logger
use an std::stringstream so that manipulators like "std::hex" are supported
(when using ORTHANC_ENABLE_LOGGING_PLUGIN or ORTHANC_ENABLE_LOGGING_STDIO)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Sat, 10 Aug 2019 13:40:08 +0200 |
parents | 2e7c5c15ba25 |
children |
line wrap: on
line source
#include <string> void base64_encode(std::string& result, const std::string& stringToEncode); void base64_decode(std::string& result, const std::string& s);