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