diff Core/Toolbox.h @ 809:8ce2f69436ca

do not return strings with base64
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 07 May 2014 16:39:53 +0200
parents 4689e400e0fa
children 0570a8c859cb e57e08ed510f 766a57997121
line wrap: on
line diff
--- a/Core/Toolbox.h	Wed May 07 16:30:47 2014 +0200
+++ b/Core/Toolbox.h	Wed May 07 16:39:53 2014 +0200
@@ -95,9 +95,11 @@
 
     bool IsSHA1(const std::string& str);
 
-    std::string DecodeBase64(const std::string& data);
+    void DecodeBase64(std::string& result, 
+                      const std::string& data);
 
-    std::string EncodeBase64(const std::string& data);
+    void EncodeBase64(std::string& result, 
+                      const std::string& data);
 
     std::string GetPathToExecutable();