Exemple #1
0
 public RF_Parameters Decode(BitArrayInputStream input)
 {
     RF_Parameters parameters = new RF_Parameters();
     parameters.InitDefaults();
     parameters.supportedBandListEUTRA = new List<SupportedBandEUTRA>();
     const int nBits = 6;
     int num3 = input.ReadBits(nBits) + 1;
     for (int i = 0; i < num3; i++)
     {
         SupportedBandEUTRA item = SupportedBandEUTRA.PerDecoder.Instance.Decode(input);
         parameters.supportedBandListEUTRA.Add(item);
     }
     return parameters;
 }
Exemple #2
0
            public RF_Parameters Decode(BitArrayInputStream input)
            {
                RF_Parameters parameters = new RF_Parameters();

                parameters.InitDefaults();
                parameters.supportedBandListEUTRA = new List <SupportedBandEUTRA>();
                const int nBits = 6;
                int       num3  = input.ReadBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    SupportedBandEUTRA item = SupportedBandEUTRA.PerDecoder.Instance.Decode(input);
                    parameters.supportedBandListEUTRA.Add(item);
                }
                return(parameters);
            }