uncompress

fnvoid[] uncompress(const(void)[] srcbuf, size_t destlen = 0u, int winbits = 15)

Decompresses the data in srcbuf[].

Parameters

srcbufbuffer containing the compressed data.
destlensize of the uncompressed data. It need not be accurate, but the decompression will be faster if the exact size is supplied.
winbitsthe base two logarithm of the maximum window size.

Returns

the decompressed data.