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