You've already forked M5-ProductExampleCodes
mirror of
https://github.com/m5stack/M5-ProductExampleCodes.git
synced 2026-05-20 10:24:10 -07:00
21 lines
572 B
C
21 lines
572 B
C
#pragma once
|
|
|
|
#include <stddef.h>
|
|
#include "port_x.h"
|
|
#ifdef ARDUINO8266_SERVER_CPP
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#endif
|
|
size_t base64_encoded_size(const unsigned char* data, size_t size);
|
|
size_t base64_decoded_size(const unsigned char* encoded_data, size_t encoded_size);
|
|
|
|
int base64_encode(const unsigned char* data, size_t data_size, unsigned char *encoded_data);
|
|
int base64_decode(const unsigned char* encoded_data, size_t encoded_size, unsigned char *data);
|
|
|
|
#include "port_x.h"
|
|
#ifdef ARDUINO8266_SERVER_CPP
|
|
#ifdef __cplusplus
|
|
} //extern C
|
|
#endif
|
|
#endif |