Encodes a small integer as its push opcode.

Synopsis

Declared in <script/script.h>

static
opcodetype
EncodeOP_N(int n);

Return Value

The opcode OP_0 or OP_1 through OP_16 for n.

Parameters

Name

Description

n

Integer in the range 0 through 16.

Created with MrDocs