You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: <return|Returns> the plain text of a gzip-encoded <string>.
Introduced: 1.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
decompress(receivedString)
Example:
put decompress(it) into URL "file:data.txt"
Example:
go stack decompress(URL "binfile:newstuff.gz")
Parameters:
gzippedString (string):
data (string): A string of compressed binary data.
Returns: The <decompress> <function> <return|returns> a <string>.
Description:
Use the <decompress> <function(control_st)> to regain the original data that was <compress|compressed>.
The decompress <function(control_st)> is the <inverse> of the <compress> <function(control_st)>.
The uncompressed result is typically about half again the size of the compressed data, although different results may be obtained depending on the amount of data.
For technical information about the format used by the <compress> and <decompress> <function(glossary)|functions>, see [RFC 1952](https://tools.ietf.org/html/rfc1952). The <decompress> <function(control_st)> uses the zlib compression library.
References: string (keyword), inverse (keyword), base64Decode (function), compress (function), URLDecode (function), compress (glossary), return (glossary), function (glossary), function (control_st)