Exemple #1
0
            public SPS_ConfigDL Decode(BitArrayInputStream input)
            {
                SPS_ConfigDL gdl = new SPS_ConfigDL();
                gdl.InitDefaults();
                switch (input.ReadBits(1))
                {
                    case 0:
                        gdl.release=new object();
                        return gdl;

                    case 1:
                        gdl.setup = setup_Type.PerDecoder.Instance.Decode(input);
                        return gdl;
                }
                throw new Exception(GetType().Name + ":NoChoice had been choose");
            }
Exemple #2
0
            public SPS_ConfigDL Decode(BitArrayInputStream input)
            {
                SPS_ConfigDL gdl = new SPS_ConfigDL();

                gdl.InitDefaults();
                switch (input.ReadBits(1))
                {
                case 0:
                    gdl.release = new object();
                    return(gdl);

                case 1:
                    gdl.setup = setup_Type.PerDecoder.Instance.Decode(input);
                    return(gdl);
                }
                throw new Exception(GetType().Name + ":NoChoice had been choose");
            }