Contents
cStringCompression class
Provides functions to compress or decompress string
All functions in this class are static, so they should be called in the dot convention:
local CompressedString = cStringCompression.CompressStringGZIP("DataToCompress")
Functions
Name | Parameters | Return value | Notes |
CompressStringGZIP |
|
|
(STATIC) Compresses data in a string using GZIP |
CompressStringZLIB |
|
|
(STATIC) Compresses data in a string using ZLIB. Factor 0 is no compression and factor 9 is maximum compression. |
InflateString |
|
|
(STATIC) Uncompresses a string using Inflate |
UncompressStringGZIP |
|
|
(STATIC) Uncompress a string using GZIP |
UncompressStringZLIB |
Data | string | UncompressedLength | number |
|
|
(STATIC) Uncompresses Data using ZLIB |
|