pub fn decode_code_info(code: &str) -> Result<CodeInfo, CodeError>
Decode and validate the complete code before returning public metadata.