An open API service indexing awesome lists of open source software.

https://github.com/synodriver/lua-smaz2

lua binding for smaz2
https://github.com/synodriver/lua-smaz2

Last synced: about 1 month ago
JSON representation

lua binding for smaz2

Awesome Lists containing this project

README

          

# lua binding for [smaz2](https://github.com/antirez/smaz2)

### Usage

```lua
local smaz2 = require("smaz2")

local data = "hello lua"

encoded = smaz2.compress(data, 100)
print(encoded)
print(smaz2.decompress(encoded,100))
```