From 8553a8d63f97cfa8d64b5b2260e81f8c896a8398 Mon Sep 17 00:00:00 2001 From: nancy.liao <huihui.liao@greentest.com.cn> Date: 周五, 23 5月 2025 18:36:03 +0800 Subject: [PATCH] 修改部分因为标准原因的报错 --- src/library/base/base64.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/library/base/base64.h b/src/library/base/base64.h index f64c4cd..466a263 100644 --- a/src/library/base/base64.h +++ b/src/library/base/base64.h @@ -2,6 +2,7 @@ #define BASE64_H #include <string> +#include <vector> #if _WIN32 #include <wtypes.h> @@ -9,7 +10,7 @@ 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 -- Gitblit v1.9.1