Mercurial > hg > orthanc
annotate Resources/ThirdParty/base64/base64.h @ 3012:af1530b45290
Optimization: On finds, do not read JSON (disk) if main DICOM tags (DB) are sufficient
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 13 Dec 2018 17:54:06 +0100 |
parents | f0544ab9396b |
children | 2e7c5c15ba25 |
rev | line source |
---|---|
2102
f0544ab9396b
fix line endings for msvc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
950
diff
changeset
|
1 #include <string> |
f0544ab9396b
fix line endings for msvc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
950
diff
changeset
|
2 |
f0544ab9396b
fix line endings for msvc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
950
diff
changeset
|
3 std::string base64_encode(const std::string& stringToEncode); |
f0544ab9396b
fix line endings for msvc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
950
diff
changeset
|
4 std::string base64_decode(const std::string& s); |