Ejemplo n.º 1
0
 public RF_Parameters_v1020 Decode(BitArrayInputStream input)
 {
     RF_Parameters_v1020 _v = new RF_Parameters_v1020();
     _v.InitDefaults();
     _v.supportedBandCombination_r10 = new List<List<BandParameters_r10>>();
     int nBits = 7;
     int num3 = input.ReadBits(nBits) + 1;
     for (int i = 0; i < num3; i++)
     {
         List<BandParameters_r10> item = new List<BandParameters_r10>();
         nBits = 6;
         int num5 = input.ReadBits(nBits) + 1;
         for (int j = 0; j < num5; j++)
         {
             BandParameters_r10 _r = BandParameters_r10.PerDecoder.Instance.Decode(input);
             item.Add(_r);
         }
         _v.supportedBandCombination_r10.Add(item);
     }
     return _v;
 }
Ejemplo n.º 2
0
            public RF_Parameters_v1020 Decode(BitArrayInputStream input)
            {
                RF_Parameters_v1020 _v = new RF_Parameters_v1020();

                _v.InitDefaults();
                _v.supportedBandCombination_r10 = new List <List <BandParameters_r10> >();
                int nBits = 7;
                int num3  = input.ReadBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    List <BandParameters_r10> item = new List <BandParameters_r10>();
                    nBits = 6;
                    int num5 = input.ReadBits(nBits) + 1;
                    for (int j = 0; j < num5; j++)
                    {
                        BandParameters_r10 _r = BandParameters_r10.PerDecoder.Instance.Decode(input);
                        item.Add(_r);
                    }
                    _v.supportedBandCombination_r10.Add(item);
                }
                return(_v);
            }