pub fn from_text( input: &str, registry: &Registry, ty_id: TypeId, ) -> Result<Vec<u8>, Error>
Parse a text-encoded string back into SCALE bytes, guided by the type registry.