public config_r11_Type Decode(BitArrayInputStream input) { config_r11_Type type = new config_r11_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: return type; case 1: type.setup = setup_Type.PerDecoder.Instance.Decode(input); return type; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public config_r11_Type Decode(BitArrayInputStream input) { config_r11_Type type = new config_r11_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: return(type); case 1: type.setup = setup_Type.PerDecoder.Instance.Decode(input); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }