SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma_base64.h
Go to the documentation of this file.
1 #ifndef _MA_BASE64_H_
2 #define _MA_BASE64_H_
3 #include "../ma_types.h"
4 
5 
6 #include <cstdint>
7 #include <string>
8 
9 namespace ma::utils {
10 
11 ma_err_t base64_encode(const unsigned char* in, int in_len, char* out, int* out_len);
12 
13 std::string base64_decode(const std::string &in);
14 
15 } // namespace ma::utils
16 
17 #endif
ma_err_t
Definition: ma_types.h:21
Definition: ma_anchors.cpp:3
ma_err_t base64_encode(const unsigned char *in, int in_len, char *out, int *out_len)
Definition: ma_base64.cpp:41
std::string base64_decode(const std::string &in)
Definition: ma_base64.cpp:20