Exemple #1
0
            public NeighCellsCRS_Info_r11 Decode(BitArrayInputStream input)
            {
                NeighCellsCRS_Info_r11 _r = new NeighCellsCRS_Info_r11();

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

                case 1:
                {
                    _r.setup = new List <CRS_AssistanceInfo_r11>();
                    int nBits = 3;
                    int num4  = input.readBits(nBits) + 1;
                    for (int i = 0; i < num4; i++)
                    {
                        CRS_AssistanceInfo_r11 item = CRS_AssistanceInfo_r11.PerDecoder.Instance.Decode(input);
                        _r.setup.Add(item);
                    }
                    return(_r);
                }
                }
                throw new Exception(GetType().Name + ":NoChoice had been choose");
            }
Exemple #2
0
            public NeighCellsCRS_Info_r11 Decode(BitArrayInputStream input)
            {
                NeighCellsCRS_Info_r11 _r = new NeighCellsCRS_Info_r11();
                _r.InitDefaults();
                switch (input.ReadBits(1))
                {
                    case 0:
                        return _r;

                    case 1:
                        {
                            _r.setup = new List<CRS_AssistanceInfo_r11>();
                            int nBits = 3;
                            int num4 = input.ReadBits(nBits) + 1;
                            for (int i = 0; i < num4; i++)
                            {
                                CRS_AssistanceInfo_r11 item = CRS_AssistanceInfo_r11.PerDecoder.Instance.Decode(input);
                                _r.setup.Add(item);
                            }
                            return _r;
                        }
                }
                throw new Exception(GetType().Name + ":NoChoice had been choose");
            }