comparison Core/Toolbox.h @ 1446:8dc80ba768aa

refactoring: IHttpHandler does not use std::string to hold the request body
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Jul 2015 13:16:12 +0200
parents ad94a3583b07
children 8f28a1cd2354
comparison
equal deleted inserted replaced
1445:d26c8a93d05a 1446:8dc80ba768aa
98 size_t length); 98 size_t length);
99 99
100 void ComputeSHA1(std::string& result, 100 void ComputeSHA1(std::string& result,
101 const std::string& data); 101 const std::string& data);
102 102
103 bool IsSHA1(const std::string& str); 103 bool IsSHA1(const char* str,
104 size_t size);
105
106 bool IsSHA1(const std::string& s);
104 107
105 void DecodeBase64(std::string& result, 108 void DecodeBase64(std::string& result,
106 const std::string& data); 109 const std::string& data);
107 110
108 void EncodeBase64(std::string& result, 111 void EncodeBase64(std::string& result,