mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 14:28:15 +00:00
ADDED small compression API
- ADDED: CompressData() - ADDED: DecompressData()
This commit is contained in:
@@ -955,6 +955,9 @@ RLAPI char **GetDroppedFiles(int *count); // Get dropped
|
||||
RLAPI void ClearDroppedFiles(void); // Clear dropped files paths buffer (free memory)
|
||||
RLAPI long GetFileModTime(const char *fileName); // Get file modification time (last write time)
|
||||
|
||||
RLAPI unsigned char *CompressData(unsigned char *data, int dataLength, int *compDataLength); // Compress data (DEFLATE algorythm)
|
||||
RLAPI char *DecompressData(char *compData, int compDataLength, int *dataLength); // Decompress data (DEFLATE algorythm)
|
||||
|
||||
// Persistent storage management
|
||||
RLAPI void StorageSaveValue(int position, int value); // Save integer value to storage file (to defined position)
|
||||
RLAPI int StorageLoadValue(int position); // Load integer value from storage file (from defined position)
|
||||
|
Reference in New Issue
Block a user