Revision Difference
util.Compress#524943
<function name="Compress" parent="util" type="libraryfunc">
<description>
Compresses the given string using the algorithm.
Compresses the given string using the [LZMA](https://ru.wikipedia.org/wiki/LZMA) algorithm.
Use with <page>net.WriteData</page> and <page>net.ReadData</page> for networking and <page>util.Decompress</page> to decompress the data.
</description>
<realm>Shared and Menu</realm>
<args>
<arg name="str" type="string">String to compress.</arg>
</args>
<rets>
<ret name="" type="string">The compressed string, or nil if the input string was zero length ("").</ret>
</rets>
</function>