Exemplo n.º 1
0
            public MBMSCountingRequest_r10 Decode(BitArrayInputStream input)
            {
                MBMSCountingRequest_r10 _r = new MBMSCountingRequest_r10();

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

                _r.countingRequestList_r10 = new List <CountingRequestInfo_r10>();
                const int num2 = 4;
                int       num3 = input.ReadBits(num2) + 1;

                for (int i = 0; i < num3; i++)
                {
                    CountingRequestInfo_r10 item = CountingRequestInfo_r10.PerDecoder.Instance.Decode(input);
                    _r.countingRequestList_r10.Add(item);
                }
                if (stream.Read())
                {
                    int nBits = input.ReadBits(8);
                    _r.lateNonCriticalExtension = input.readOctetString(nBits);
                }
                if (stream.Read())
                {
                    _r.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(_r);
            }
Exemplo n.º 2
0
 public MBMSCountingRequest_r10 Decode(BitArrayInputStream input)
 {
     MBMSCountingRequest_r10 _r = new MBMSCountingRequest_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     _r.countingRequestList_r10 = new List<CountingRequestInfo_r10>();
     const int num2 = 4;
     int num3 = input.readBits(num2) + 1;
     for (int i = 0; i < num3; i++)
     {
         CountingRequestInfo_r10 item = CountingRequestInfo_r10.PerDecoder.Instance.Decode(input);
         _r.countingRequestList_r10.Add(item);
     }
     if (stream.Read())
     {
         int nBits = input.readBits(8);
         _r.lateNonCriticalExtension = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         _r.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
     }
     return _r;
 }