Decompress Binary Data
txt = zlib.inflate(bin)
txt = zlib.inflate(bin, isdeflate)
txt = zlib.inflate(bin, windowsize)
Decompress the string bin
.
Parameter | Type | Description |
---|---|---|
bin |
string | Data to decompress |
isdelate |
boolean | True = header less raw stream (like C# DeflateStream) |
windowsize |
integer | Dictionary window size. (Default = 15). |
Returns | Type | Description |
---|---|---|
txt |
string | Decompressed string |
windowsize value |
Description |
---|---|
15 | zlib-header |
-15 | raw header |
31 | gzip header |
See: zlib documentation for initdeflate2