summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2021-10-18 22:31:32 +0200
committerRay <[email protected]>2021-10-18 22:31:32 +0200
commit5a019ae1c2c0e8fa0c2b7ac5a8f0b798ebb5d9ad (patch)
tree0a6ce0f6b60894d6b065fdebda754813734437de
parent695101dc5bdb5944409ddd94d0732d19c826eb56 (diff)
downloadraylib.com-5a019ae1c2c0e8fa0c2b7ac5a8f0b798ebb5d9ad.tar.gz
raylib.com-5a019ae1c2c0e8fa0c2b7ac5a8f0b798ebb5d9ad.zip
Update raylib_core.c
-rw-r--r--cheatsheet/raylib_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cheatsheet/raylib_core.c b/cheatsheet/raylib_core.c
index 17f1a57..7edad1e 100644
--- a/cheatsheet/raylib_core.c
+++ b/cheatsheet/raylib_core.c
@@ -142,13 +142,17 @@
void ClearDroppedFiles(void); // Clear dropped files paths buffer (free memory)
long GetFileModTime(const char *fileName); // Get file modification time (last write time)
+ // Compression/Encoding functionality
unsigned char *CompressData(unsigned char *data, int dataLength, int *compDataLength); // Compress data (DEFLATE algorithm)
unsigned char *DecompressData(unsigned char *compData, int compDataLength, int *dataLength); // Decompress data (DEFLATE algorithm)
+ char *EncodeDataBase64(const unsigned char *data, int dataLength, int *outputLength); // Encode data to Base64 string
+ unsigned char *DecodeDataBase64(unsigned char *data, int *outputLength); // Decode Base64 string data
// Persistent storage management
bool SaveStorageValue(unsigned int position, int value); // Save integer value to storage file (to defined position), returns true on success
int LoadStorageValue(unsigned int position); // Load integer value from storage file (from defined position)
+ // Misc.
void OpenURL(const char *url); // Open URL with default system browser (if available)
// Input-related functions: keyboard