Example #1
0
 public DRB_CountInfo Decode(BitArrayInputStream input)
 {
     DRB_CountInfo info = new DRB_CountInfo();
     info.InitDefaults();
     info.drb_Identity = input.readBits(5) + 1;
     info.count_Uplink = input.readBits(0x20);
     info.count_Downlink = input.readBits(0x20);
     return info;
 }
Example #2
0
            public DRB_CountInfo Decode(BitArrayInputStream input)
            {
                DRB_CountInfo info = new DRB_CountInfo();

                info.InitDefaults();
                info.drb_Identity   = input.ReadBits(5) + 1;
                info.count_Uplink   = input.ReadBits(0x20);
                info.count_Downlink = input.ReadBits(0x20);
                return(info);
            }
Example #3
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);
            }