//! Decoding of typed VM constant-pool operands.
usesuper::Program;usecrate::core::Value;/// Reads a string constant (the global-name operands).
pub(super)fnconstant_string(program:&Program, index:u32)->Option<&str>{match program.constants.get(index asusize){Some(Value::String(value))=>Some(value.as_str()),_=>None,}}