CScript::DecodeOP_N

Decodes a small-integer opcode to its numeric value.

Synopsis

Declared in <script/script.h>

static
int
DecodeOP_N(opcodetype opcode);

Return Value

The integer 0 through 16 represented by opcode. Encode/decode small integers:

Parameters

NameDescription
opcodeOne of OP_0 or OP_1 through OP_16.