SkillAgentSearch skills...

Smal

A file comrpessor using LZ78 algorithm.

Install / Use

/learn @luizppa/Smal
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Smal

A file comrpessor using LZ78 algorithm.

Building

The source code includes a makefile, so to build the project, simply run make. The executable output will be located at build/smal. To make a clean build, use make clean && make. You can test the execution by running make run to execute the compressor over a sample output.

Usage

Compressing files:

smal -c input_file [output_file]

input file is the file to be compressed, output_file is an optional output path for the compressed file, if none is provided, the output file name will be the same as the input file with .z78 extension.

Decompressing files:

smal -x input_file [output_file]

input file is the file to be decompressed, output_file is an optional output path for the decompressed file, if none is provided, the output file name will be the same as the input file with .txt extension.

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated3y ago
Forks0

Languages

C++

Security Score

75/100

Audited on Aug 31, 2022

No findings