ADDED small compression API
- ADDED: CompressData() - ADDED: DecompressData()
This commit is contained in:
parent
2d6bc1ff42
commit
ae2452d280
4 changed files with 44 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue