Reads the next opcode, ignoring any pushed data.

Synopsis

Declared in <script/script.h>

bool
GetOp(
    const_iterator& pc,
    opcodetype& opcodeRet) const;

Return Value

true if an opcode was read successfully.

Parameters

Name

Description

pc

In/out iterator advanced past the opcode.

opcodeRet

Set to the opcode that was read.

Created with MrDocs