From e846857cedc0b4ae7697c0e771d5c83d222bd013 Mon Sep 17 00:00:00 2001 From: TSnake41 Date: Thu, 4 Nov 2021 21:17:26 +0100 Subject: [PATCH] Added EncodeDataBase64/DecodeDataBase64 that were missing. --- tools/api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/api.h b/tools/api.h index ea9470c..7d8a996 100644 --- a/tools/api.h +++ b/tools/api.h @@ -119,6 +119,8 @@ void ClearDroppedFiles(void) long GetFileModTime(const char *fileName) unsigned char *CompressData(unsigned char *data, int dataLength, int *compDataLength) unsigned char *DecompressData(unsigned char *compData, int compDataLength, int *dataLength) +char *EncodeDataBase64(const unsigned char *data, int dataLength, int *outputLength) +unsigned char *DecodeDataBase64(unsigned char *data, int *outputLength) bool SaveStorageValue(unsigned int position, int value) int LoadStorageValue(unsigned int position) void OpenURL(const char *url)