comparison Core/Toolbox.cpp @ 365:cda6938a8c6f

decode base64
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 06 Feb 2013 18:01:45 +0100
parents 26218c4de7e0
children bdd72233b105
comparison
equal deleted inserted replaced
364:37b066ee2988 365:cda6938a8c6f
438 std::string Toolbox::EncodeBase64(const std::string& data) 438 std::string Toolbox::EncodeBase64(const std::string& data)
439 { 439 {
440 return base64_encode(data); 440 return base64_encode(data);
441 } 441 }
442 442
443 std::string Toolbox::DecodeBase64(const std::string& data)
444 {
445 return base64_decode(data);
446 }
447
443 448
444 #if defined(_WIN32) 449 #if defined(_WIN32)
445 std::string Toolbox::GetPathToExecutable() 450 std::string Toolbox::GetPathToExecutable()
446 { 451 {
447 // Yes, this is ugly, but there is no simple way to get the 452 // Yes, this is ugly, but there is no simple way to get the