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