Reads the next opcode and its pushed data.
Declared in <script/script.h>
bool
GetOp(
const_iterator& pc,
opcodetype& opcodeRet,
std::vector<unsigned char>& vchRet) const;
true if an opcode was read successfully.
| Name | Description |
|---|---|
| pc | In/out iterator advanced past the opcode. |
| opcodeRet | Set to the opcode that was read. |
| vchRet | Set to the data pushed by the opcode. |