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 223
Expand file tree
/
Copy pathdecompress.xml
More file actions
49 lines (49 loc) · 2.51 KB
/
Copy pathdecompress.xml
File metadata and controls
49 lines (49 loc) · 2.51 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
<doc>
<legacy_id>1506</legacy_id>
<name>decompress</name>
<type>function</type>
<syntax>
<example>decompress(<i>gzippedString</i>)</example>
<example>the decompress of <i>gzippedString</i></example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>Text and Data Processing</category>
</classification>
<references>
<function tag="base64Decode">base64Decode Function</function>
<function tag="compress">compress Function</function>
<function tag="URLDecode">URLDecode Function</function>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<summary><glossary tag="return">Returns</glossary> the plain text of a gzip-encoded <keyword tag="string">string</keyword>.</summary>
<examples>
<example>decompress(receivedString)</example>
<example>put decompress(it) into URL "file:data.txt"</example>
<example>go stack decompress(URL "binfile:newstuff.gz")</example>
</examples>
<description>
<p>Use the <b>decompress</b> <control_st tag="function">function</control_st> to regain the original data that was <glossary tag="compress">compressed</glossary>.</p><p/><p><b>Parameters:</b></p><p>The <i>data</i> is a <keyword tag="string">string</keyword> of <glossary tag="compress">compressed</glossary> <glossary tag="binary data">binary data</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>decompress</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a <keyword tag="string">string</keyword>.</p><p/><p><b>Comments:</b></p><p>The<b> decompress</b> <control_st tag="function">function</control_st> is the <keyword tag="inverse">inverse</keyword> of the <function tag="compress">compress</function> <control_st tag="function">function</control_st>.</p><p/><p>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.</p><p/><p>For technical information about the format used by the <b>compress</b> and <b>decompress</b> <glossary tag="function">functions</glossary>, see RFC 1952 at <<u>http://www.ietf.org/rfc/rfc1952.txt</u>>. The <b>decompress</b> <control_st tag="function">function</control_st> uses the zlib compression library.</p>
</description>
</doc>