public static int PredictOpcodeSize(Compiler.Definition op, byte[] bytes, int start_pos) { if (op.operand_width == null) { return(0); } int pos = start_pos; foreach (int ow in op.operand_width) { Bytecode.Decode(bytes, ow, ref pos); } return(pos - start_pos); }