$compress » History » Version 8
Per Amundsen, 02/16/2023 09:16 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.4_ |
|---|---|---|---|
| 2 | |||
| 3 | 5 | Per Amundsen | *$compress(file|&bvar, blNmN)* |
| 4 | 1 | Per Amundsen | |
| 5 | Compresses the specified file or binary variable. The result is raw compressed data. |
||
| 6 | |||
| 7 | 2 | Mr. BS | _Not compatible with mIRC compressed files_ |
| 8 | 1 | Per Amundsen | |
| 9 | 5 | Per Amundsen | _See also [[$decompress]]._ |
| 10 | |||
| 11 | 1 | Per Amundsen | *Parameters* |
| 12 | |||
| 13 | 8 | Per Amundsen | table(ktable). |
| 14 | |*Parameter*|*Description*| |
||
| 15 | | file<notextile>|</notextile>&binvar | File or &binvar to compress. | |
||
| 16 | | blN | b indicates a &binvar is specified. | |
||
| 17 | | lN | *TODO* | |
||
| 18 | | mN | If N = 1 is raw (default), N = 2 is zlib, and N = 3 is gzip. (1 and 3 is compatible with mIRC) | |