summaryrefslogtreecommitdiff
path: root/zen/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/base64.h')
-rw-r--r--zen/base64.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/zen/base64.h b/zen/base64.h
index b39a6a52..f03a1433 100644
--- a/zen/base64.h
+++ b/zen/base64.h
@@ -13,14 +13,14 @@
namespace zen
{
-//https://en.wikipedia.org/wiki/Base64
-/*
-Usage:
- const std::string input = "Sample text";
- std::string output;
- zen::encodeBase64(input.begin(), input.end(), std::back_inserter(output));
- //output contains "U2FtcGxlIHRleHQ="
-*/
+/* https://en.wikipedia.org/wiki/Base64
+
+ Usage:
+ const std::string input = "Sample text";
+ std::string output;
+ zen::encodeBase64(input.begin(), input.end(), std::back_inserter(output));
+ //output contains "U2FtcGxlIHRleHQ=" */
+
template <class InputIterator, class OutputIterator>
OutputIterator encodeBase64(InputIterator first, InputIterator last, OutputIterator result); //nothrow!
bgstack15