nancy.liao
2025-05-28 78c4103171732369725487b5f0e43816e1ea1256
src/library/base/base64.h
@@ -2,14 +2,16 @@
#define BASE64_H
#include <string>
#include <vector>
#if _WIN32
#include <wtypes.h>
#endif
#include <cstdint>
namespace license {
unsigned char* unbase64(const char* ascii, int len, int* flen);
std::vector<uint8_t> unbase64(const std::string& base64_data);
std::string base64(const void* binaryData, size_t len, int lineLenght = -1);
}  // namespace license