uncompress

Decompresses the data in srcbuf[].

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

Parameters

srcbuf const(void)[]

buffer containing the compressed data.

destlen size_t

size of the uncompressed data. It need not be accurate, but the decompression will be faster if the exact size is supplied.

winbits int

the base two logarithm of the maximum window size.

Return Value

Type: void[]

the decompressed data.

Meta