util.Decompress

From Garry's Mod
Jump to: navigation, search
 util.Decompress( )

Contents

Description

Decompresses the given string using LZMA algorithm. Used to decompress strings previously compressed with util.Compress.

Arguments

string compressedString

The compressed string to decompress.

Arguments

number maxSize=nil

The maximal size in bytes it will decompress.

Returns

string

The original, decompressed string or an empty string on failure or invalid input.
Personal tools
Navigation