Revision Difference
util.Decompress#560301
<function name="Decompress" parent="util" type="libraryfunc">
<description>Decompresses the given string using [LZMA](https://en.wikipedia.org/wiki/LZMA) algorithm. Used to decompress strings previously compressed with <page>util.Compress</page>.</description>
<realm>Shared and Menu</realm>
<args>
<arg name="compressedString" type="string">The compressed string to decompress.</arg>
<arg name="maxSize" type="number" default="nil">The maximal size in bytes it will decompress.</arg>
<arg name="maxSize" type="number" default="nil">The maximum size of uncompressed data in bytes, if greater it fails.</arg>
</args>
<rets>
<ret name="" type="string">The original, decompressed string or an empty string on failure or invalid input.</ret>
<ret name="" type="string">The original, decompressed string or `nil` on failure or invalid input. Also returns empty string if the input string was zero length ("").</ret>
</rets>
</function>