Garry's Mod Wiki

util.Compress

string util.Compress( string str )

Description

Compresses the given string using the LZMA algorithm.

Use with net.WriteData and net.ReadData for networking and util.Decompress to decompress the data.

Arguments

1 string str
String to compress.

Returns

1 string
The compressed string, or nil if the input string was zero length ("").

Page Links


Special Pages


Wikis

?

Render Time: 41ms

DB GetPage 4
Generate Html 4
SaveChanges (1) 10
Render Body 0
Render Sidebar 19