nixos/lua-lsp/meta/3rd/Defold/library/zlib.lua

18 lines
435 B
Lua

---Zlib compression API documentation
---Functions for compression and decompression of string buffers.
---@class zlib
zlib = {}
---A lua error is raised is on error
---@param buf string # buffer to deflate
---@return string # deflated buffer
function zlib.deflate(buf) end
---A lua error is raised is on error
---@param buf string # buffer to inflate
---@return string # inflated buffer
function zlib.inflate(buf) end
return zlib