Skip to content

oik741/lua-smaz

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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