7.1.4 Command Line Syntax


   7.1.4 Command Line Syntax


LZNV SDK DLL Tester sample project is a command line VC++ project, built in the form of a command line executable.


When launched, it shows the following usage information:



The command line is formed of commands and options.

Commands are compulsory, while options are not. Default options may be loaded if no options is set. However, commands must be specified.


I.  LZNV Command: 'e' from encode or 'd' from decode.


II. LZNV Memory Level [Optional]: one of the following: -t0, -t1, -t2, -t3-, -t4, -t5 -t6


II. LZNV Compression Method [Optional]: 


This parameter must be preceded with '-' and it has the following format:


a) -m0, -m1, -m2, -m3, -m4

b) -ma, -mb, -mc, -md, -me, -mf, -mg


             Method '0' through '4' will use a LZNV Algorithm which is a combination of a LempelZiv Variant + an Entropy Coder Algorithm

Method 'a' through 'g' refer only to an Entropy Coder Algorithm

               

Examples of usage:


I. To compress file abc.bin into file abc.tmp using memory level of 1MiB and si LZNV Method HyperFast



The output of this example: