Garry's Mod Wiki

Revision Difference

util.Decompress#512333

<function name="Decompress" parent="util" type="libraryfunc">⤶ <description>Decompresses the given string using 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>⤶ </args>⤶ <rets>⤶ <ret name="" type="string">The original, decompressed string or an empty string on failure or invalid input.</ret>⤶ </rets>⤶ </function>⤶ ⤶