uncompress

Uncompresses data. If the first byte of srcbuf is 0 then LZMA will be used to uncompress the data. Otherwise uses zlib.

ubyte[]
uncompress
(
const(ubyte)[] srcbuf
,
size_t destlen = 0u
)

Parameters

srcbuf const(ubyte)[]

The compressed data

destlen size_t

The uncompressed size

Return Value

Type: ubyte[]

The uncompressed data

Meta