summaryrefslogtreecommitdiff
path: root/meta/3rd/Defold/library/zlib.lua
blob: 9d05c1920653427076940b52d784aff50e9a968a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---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