Exemplo n.º 1
0
            public MBMSInterestIndication_r11_IEs Decode(BitArrayInputStream input)
            {
                int num2;
                MBMSInterestIndication_r11_IEs es = new MBMSInterestIndication_r11_IEs();

                es.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 4);

                if (stream.Read())
                {
                    es.mbms_FreqList_r11 = new List <long>();
                    num2 = 3;
                    int num3 = input.ReadBits(num2) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        long item = input.ReadBits(0x12);
                        es.mbms_FreqList_r11.Add(item);
                    }
                }
                if (stream.Read())
                {
                    num2 = 1;
                    es.mbms_Priority_r11 = (mbms_Priority_r11_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    int nBits = input.ReadBits(8);
                    es.lateNonCriticalExtension = input.readOctetString(nBits);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Exemplo n.º 2
0
 public MBMSInterestIndication_r11_IEs Decode(BitArrayInputStream input)
 {
     int num2;
     MBMSInterestIndication_r11_IEs es = new MBMSInterestIndication_r11_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 4);
     if (stream.Read())
     {
         es.mbms_FreqList_r11 = new List<long>();
         num2 = 3;
         int num3 = input.readBits(num2) + 1;
         for (int i = 0; i < num3; i++)
         {
             long item = input.readBits(0x12);
             es.mbms_FreqList_r11.Add(item);
         }
     }
     if (stream.Read())
     {
         num2 = 1;
         es.mbms_Priority_r11 = (mbms_Priority_r11_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         int nBits = input.readBits(8);
         es.lateNonCriticalExtension = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
     }
     return es;
 }