From 5a019ae1c2c0e8fa0c2b7ac5a8f0b798ebb5d9ad Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 18 Oct 2021 22:31:32 +0200 Subject: Update raylib_core.c --- cheatsheet/raylib_core.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cheatsheet') 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 -- cgit v1.2.3