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:

  • input string Input file data.
  • config optional table Configuration table.

Returns:

    string Converted file data.

See also:

compress2 (input, config)
Compress file data to raw LZSA2.

Parameters:

  • input string Input file data.
  • config optional table Configuration table.

Returns:

    string Converted file data.

See also:

compress1_block (input, config)
Compress file data to headered LZSA1.

Parameters:

  • input string Input file data.
  • config optional table Configuration table.

Returns:

    string Converted file data.

See also:

compress2_block (input, config)
Compress file data to headered LZSA2.

Parameters:

  • input string Input file data.
  • config optional table Configuration table.

Returns:

    string Converted file data.

See also:

decompress1 (input, config)
Decompress raw LZSA1 file data.

Parameters:

  • input string Input file data.
  • config optional table Configuration table.

Returns:

    string Converted file data.

See also:

decompress2 (input, config)
Decompress raw LZSA2 file data.

Parameters:

  • input string Input file data.
  • config optional table Configuration table.

Returns:

    string Converted file data.

See also:

decompress1_block (input, config)
Decompress headered LZSA1 file data.

Parameters:

  • input string Input file data.
  • config optional table Configuration table.

Returns:

    string Converted file data.

See also:

decompress2_block (input, config)
Decompress headered LZSA2 file data.

Parameters:

  • input string Input file data.
  • config optional table Configuration table.

Returns:

    string Converted file data.

See also:

Class lzsa.Config

LZSA tool configuration.
config:backward ()
Compress/decompress data backwards.

Returns:

    table Configuration table.
config:fast ()
Optimize for compression speed.

Returns:

    table Configuration table.
config:verbose ()
Enable verbose terminal output.

Returns:

    table Configuration table.
generated by LDoc 1.5.0 Last updated 2024-08-03 18:41:58