Ejemplo n.º 1
0
 public CSG_AllowedReportingCells_r9 Decode(BitArrayInputStream input)
 {
     CSG_AllowedReportingCells_r9 _r = new CSG_AllowedReportingCells_r9();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _r.physCellIdRangeUTRA_FDDList_r9 = new List<PhysCellIdRangeUTRA_FDD_r9>();
         int nBits = 2;
         int num3 = input.readBits(nBits) + 1;
         for (int i = 0; i < num3; i++)
         {
             PhysCellIdRangeUTRA_FDD_r9 item = PhysCellIdRangeUTRA_FDD_r9.PerDecoder.Instance.Decode(input);
             _r.physCellIdRangeUTRA_FDDList_r9.Add(item);
         }
     }
     return _r;
 }
Ejemplo n.º 2
0
            public CSG_AllowedReportingCells_r9 Decode(BitArrayInputStream input)
            {
                CSG_AllowedReportingCells_r9 _r = new CSG_AllowedReportingCells_r9();

                _r.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 1);

                if (stream.Read())
                {
                    _r.physCellIdRangeUTRA_FDDList_r9 = new List <PhysCellIdRangeUTRA_FDD_r9>();
                    int nBits = 2;
                    int num3  = input.ReadBits(nBits) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        PhysCellIdRangeUTRA_FDD_r9 item = PhysCellIdRangeUTRA_FDD_r9.PerDecoder.Instance.Decode(input);
                        _r.physCellIdRangeUTRA_FDDList_r9.Add(item);
                    }
                }
                return(_r);
            }