Beispiel #1
0
            public DRX_Config Decode(BitArrayInputStream input)
            {
                DRX_Config config = new DRX_Config();
                config.InitDefaults();
                switch (input.ReadBits(1))
                {
                    case 0:
                        return config;

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

                config.InitDefaults();
                switch (input.readBits(1))
                {
                case 0:
                    return(config);

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