Ejemplo n.º 1
0
            public CounterCheckResponse_r8_IEs Decode(BitArrayInputStream input)
            {
                CounterCheckResponse_r8_IEs es = new CounterCheckResponse_r8_IEs();

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

                es.drb_CountInfoList = new List <DRB_CountInfo>();
                const int nBits = 4;
                int       num3  = input.readBits(nBits);

                for (int i = 0; i < num3; i++)
                {
                    DRB_CountInfo item = DRB_CountInfo.PerDecoder.Instance.Decode(input);
                    es.drb_CountInfoList.Add(item);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = CounterCheckResponse_v8a0_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 2
0
 public CounterCheckResponse_r8_IEs Decode(BitArrayInputStream input)
 {
     CounterCheckResponse_r8_IEs es = new CounterCheckResponse_r8_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     es.drb_CountInfoList = new List<DRB_CountInfo>();
     const int nBits = 4;
     int num3 = input.readBits(nBits);
     for (int i = 0; i < num3; i++)
     {
         DRB_CountInfo item = DRB_CountInfo.PerDecoder.Instance.Decode(input);
         es.drb_CountInfoList.Add(item);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = CounterCheckResponse_v8a0_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }