hdac SDK
SDK for hdac blockchain development
base64.h
1 #ifndef BASE64_H
2 #define BASE64_H
3 
4 #include <string>
5 #include <vector>
6 // TODO : global headers -> only one.
7 #include "strcodeclib_global.h"
8 
9 std::vector<unsigned char> DecodeBase64(const char* p, bool* pfInvalid = NULL);
10 std::string DecodeBase64(const std::string& str);
11 std::string EncodeBase64(const unsigned char* pch, size_t len);
12 std::string EncodeBase64(const std::string& str);
13 
14 #endif // BASE64_H