lua binding for https://github.com/facebook/zstd
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)
lua binding for https://github.com/facebook/zstd
lua binding for https://github.com/facebook/zstd
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)
lua binding for https://github.com/facebook/zstd