Example #1
0
            public CQI_ReportPeriodic_v1130 Decode(BitArrayInputStream input)
            {
                int num2;
                CQI_ReportPeriodic_v1130 _v = new CQI_ReportPeriodic_v1130();

                _v.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 3);

                if (stream.Read())
                {
                    num2 = 1;
                    _v.simultaneousAckNackAndCQI_Format3_r11 = (simultaneousAckNackAndCQI_Format3_r11_Enum)input.readBits(num2);
                }
                if (stream.Read())
                {
                    _v.cqi_ReportPeriodicProcExtToReleaseList_r11 = new List <long>();
                    num2 = 2;
                    int num3 = input.readBits(num2) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        long item = input.readBits(2) + 1;
                        _v.cqi_ReportPeriodicProcExtToReleaseList_r11.Add(item);
                    }
                }
                if (stream.Read())
                {
                    _v.cqi_ReportPeriodicProcExtToAddModList_r11 = new List <CQI_ReportPeriodicProcExt_r11>();
                    num2 = 2;
                    int num6 = input.readBits(num2) + 1;
                    for (int j = 0; j < num6; j++)
                    {
                        CQI_ReportPeriodicProcExt_r11 _r = CQI_ReportPeriodicProcExt_r11.PerDecoder.Instance.Decode(input);
                        _v.cqi_ReportPeriodicProcExtToAddModList_r11.Add(_r);
                    }
                }
                return(_v);
            }
Example #2
0
 public CQI_ReportPeriodic_v1130 Decode(BitArrayInputStream input)
 {
     int num2;
     CQI_ReportPeriodic_v1130 _v = new CQI_ReportPeriodic_v1130();
     _v.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     if (stream.Read())
     {
         num2 = 1;
         _v.simultaneousAckNackAndCQI_Format3_r11 = (simultaneousAckNackAndCQI_Format3_r11_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         _v.cqi_ReportPeriodicProcExtToReleaseList_r11 = new List<long>();
         num2 = 2;
         int num3 = input.readBits(num2) + 1;
         for (int i = 0; i < num3; i++)
         {
             long item = input.readBits(2) + 1;
             _v.cqi_ReportPeriodicProcExtToReleaseList_r11.Add(item);
         }
     }
     if (stream.Read())
     {
         _v.cqi_ReportPeriodicProcExtToAddModList_r11 = new List<CQI_ReportPeriodicProcExt_r11>();
         num2 = 2;
         int num6 = input.readBits(num2) + 1;
         for (int j = 0; j < num6; j++)
         {
             CQI_ReportPeriodicProcExt_r11 _r = CQI_ReportPeriodicProcExt_r11.PerDecoder.Instance.Decode(input);
             _v.cqi_ReportPeriodicProcExtToAddModList_r11.Add(_r);
         }
     }
     return _v;
 }