Skip to content

oik741/lua-smaz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages