Part of StarfallEx namespace
๐ External
bit.decompress(s, maxSize)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Decompresses a string using LZMA. XZ Utils will always produce streamed (i.e. the decompressed size is not specified in the header) LZMA data. If you're trying to compress data from outside of GMod and then decompress it inside of GMod, it probably won't work unless you use the older, deprecated 'LZMA Utils', or util.Compress.
Parameters
| Name | Type | Description |
|---|---|---|
s | string | String to decompress |
maxSize? | number | Maximum allowed size of decompressed data |
Returns
| Type | Description |
|---|---|
string | Decompressed string, or nil if decompression failed |
Examples
No examples available.
Used In
No usages found in the codebase.