rangercyh / lua-zstd

lua binding for https://github.com/facebook/zstd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lua-zstd

lua binding for https://github.com/facebook/zstd

use

local ztsd = require "zstd"


local str = "asdf"
local s = ztsd.compress(str)
print(s, string.len(s))

assert(ztsd.decompress(s, string.len(str)) == str)

About

lua binding for https://github.com/facebook/zstd


Languages

Language:C 99.2%Language:Assembly 0.8%Language:Makefile 0.0%Language:Lua 0.0%