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
- Host: GitHub
- URL: https://github.com/synodriver/lua-smaz2
- Owner: synodriver
- Created: 2024-01-27T07:58:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-05-17T02:58:23.000Z (2 months ago)
- Last Synced: 2026-05-17T04:48:28.266Z (2 months ago)
- Language: C
- Size: 1000 Bytes
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
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))
```