This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathdecompress.lcdoc
More file actions
55 lines (37 loc) · 1.42 KB
/
decompress.lcdoc
File metadata and controls
55 lines (37 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Name: decompress
Type: function
Syntax: decompress(<gzippedString>)
Syntax: the decompress of <gzippedString>
Summary:
<return|Returns> the plain text of a gzip-encoded <string>.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
decompress(tReceivedString)
Example:
put decompress(it) into URL "file:data.txt"
Example:
go stack decompress(URL "binfile:newstuff.gz")
Parameters:
gzippedString (string):
A string of compressed binary data.
Returns(string):
The <decompress> <function> <return|returns> a <string>.
Description:
Use the <decompress> <function(control structure)> to regain the
original data that was <compress|compressed>.
The decompress <function(control structure)> is the <inverse> of the
<compress> <function(control structure)>.
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 structure)> uses the zlib compression library.
References: function (control structure), base64Decode (function),
compress (function), URLDecode (function), compress (glossary),
return (glossary), function (glossary), string (keyword),
inverse (keyword)
Tags: text processing