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