Gunzip (String function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:String:Gunzip subtitle}}
{{Template:String:Gunzip subtitle}}
This function extracts information from a GZIP-format longstring.  
This function extracts information from a GZIP-format longstring.  


Line 8: Line 7:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%outString</th><td>The decompressed content of the <var class="term">string</var> method object.</td></tr>
<tr><th>%outString</th>
<td>The decompressed content of the <var class="term">string</var> method object.</td></tr>


<tr><th>string</th>
<tr><th>string</th>
Line 17: Line 17:
<ul>
<ul>
<li>The <var>[[NCMPBUF parameter|NCMPBUF]]</var> parameter must be set to a
<li>The <var>[[NCMPBUF parameter|NCMPBUF]]</var> parameter must be set to a
non-0 value during <var class="product">Model 204</var>initialization to allow
non-0 value during <var class="product">Model 204</var> initialization to allow
use of the <var>Gunzip</var> function; otherise, invoking <var>Gunzip</var>
use of the <var>Gunzip</var> function; otherise, invoking <var>Gunzip</var>
causes request cancellation.
causes request cancellation.

Latest revision as of 21:10, 3 September 2015

Decompress a longstring with GUNZIP (String class)

[Introduced in Sirius Mods 7.4]

This function extracts information from a GZIP-format longstring.

Syntax

%outString = string:Gunzip Throws InvalidGZipData

Syntax terms

%outString The decompressed content of the string method object.
string A string which has been assigned the output of a Gunzip invocation.

Usage notes

  • The NCMPBUF parameter must be set to a non-0 value during Model 204 initialization to allow use of the Gunzip function; otherise, invoking Gunzip causes request cancellation.

See also