https://github.com/synodriver/lua-smaz
SMAZ - compression for very small strings, for lua
https://github.com/synodriver/lua-smaz
Last synced: about 1 year ago
JSON representation
SMAZ - compression for very small strings, for lua
- Host: GitHub
- URL: https://github.com/synodriver/lua-smaz
- Owner: synodriver
- Created: 2022-07-02T12:37:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-02T12:38:10.000Z (almost 4 years ago)
- Last Synced: 2025-02-14T00:23:58.386Z (over 1 year ago)
- Language: C
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
✨ lua-smaz ✨
The lua binding for smaz
### usage
```lua
smaz = require("smaz")
data = "12341234"
encoded = smaz.compress(data, 100)
print(encoded)
print(smaz.decompress(encoded,100))
```