Decompress zlib‐compressed Input into Output.

Synopsis

Declared in <llvm/Support/Compression.h>

Error
decompress(
    ArrayRef<uint8_t> Input,
    SmallVectorImpl<uint8_t>& Output,
    size_t UncompressedSize);

Return Value

Success, or an error describing the zlib failure.

Parameters

Name

Description

Input

Compressed bytes.

Output

Destination; resized to UncompressedSize bytes.

UncompressedSize

Expected uncompressed size in bytes.

Created with MrDocs