Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 

README.md

Lua smaz

simple compression library suitable for compressing very short strings

Running the tests

$ ./test/test_smaz.lua

Usage

smaz = require("smaz")

test_string = "StringToEncode"

compressed_string = smaz.compress(test_string)

uncompressed_string, err = smaz.decompress(compressed_string)

if not uncompressed_string then
    print("Ooops, error: " .. err)
else
    print("Hooray!")
end

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.