Module wf.api.v1.process.tools.lzsa
wf-lzsa tool wrapper.
Functions
config (options) | Create a configuration table. |
compress1 (input, config) | Compress file data to raw LZSA1. |
compress2 (input, config) | Compress file data to raw LZSA2. |
compress1_block (input, config) | Compress file data to headered LZSA1. |
compress2_block (input, config) | Compress file data to headered LZSA2. |
decompress1 (input, config) | Decompress raw LZSA1 file data. |
decompress2 (input, config) | Decompress raw LZSA2 file data. |
decompress1_block (input, config) | Decompress headered LZSA1 file data. |
decompress2_block (input, config) | Decompress headered LZSA2 file data. |
Class lzsa.Config
config:backward () | Compress/decompress data backwards. |
config:fast () | Optimize for compression speed. |
config:verbose () | Enable verbose terminal output. |
Functions
- config (options)
-
Create a configuration table.
Parameters:
- options optional table Initial options.
Returns:
-
table
Configuration table.
- compress1 (input, config)
-
Compress file data to raw LZSA1.
Parameters:
Returns:
-
string
Converted file data.
See also:
- compress2 (input, config)
-
Compress file data to raw LZSA2.
Parameters:
Returns:
-
string
Converted file data.
See also:
- compress1_block (input, config)
-
Compress file data to headered LZSA1.
Parameters:
Returns:
-
string
Converted file data.
See also:
- compress2_block (input, config)
-
Compress file data to headered LZSA2.
Parameters:
Returns:
-
string
Converted file data.
See also:
- decompress1 (input, config)
-
Decompress raw LZSA1 file data.
Parameters:
Returns:
-
string
Converted file data.
See also:
- decompress2 (input, config)
-
Decompress raw LZSA2 file data.
Parameters:
Returns:
-
string
Converted file data.
See also:
- decompress1_block (input, config)
-
Decompress headered LZSA1 file data.
Parameters:
Returns:
-
string
Converted file data.
See also:
- decompress2_block (input, config)
-
Decompress headered LZSA2 file data.
Parameters:
Returns:
-
string
Converted file data.
See also:
Class lzsa.Config
LZSA tool configuration.