Reconstructs a script from its compressed representation.

Synopsis

Declared in <compressor.h>

bool
DecompressScript(
    CScript& script,
    unsigned int nSize,
    CompressedScript const& in);

Return Value

true if the script was decompressed successfully.

Parameters

Name

Description

script

Output script filled with the decompressed bytes.

nSize

The special script type identifier.

in

The compressed script payload.

Created with MrDocs