Beispiel #1
0
            public IRAT_ParametersUTRA_FDD Decode(BitArrayInputStream input)
            {
                IRAT_ParametersUTRA_FDD sutra_fdd = new IRAT_ParametersUTRA_FDD();

                sutra_fdd.InitDefaults();
                sutra_fdd.supportedBandListUTRA_FDD = new List <SupportedBandUTRA_FDD>();
                int nBits = 6;
                int num3  = input.ReadBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    nBits = (input.ReadBit() == 0) ? 4 : 5;
                    SupportedBandUTRA_FDD item = (SupportedBandUTRA_FDD)input.ReadBits(nBits);
                    sutra_fdd.supportedBandListUTRA_FDD.Add(item);
                }
                return(sutra_fdd);
            }
Beispiel #2
0
 public IRAT_ParametersUTRA_FDD Decode(BitArrayInputStream input)
 {
     IRAT_ParametersUTRA_FDD sutra_fdd = new IRAT_ParametersUTRA_FDD();
     sutra_fdd.InitDefaults();
     sutra_fdd.supportedBandListUTRA_FDD = new List<SupportedBandUTRA_FDD>();
     int nBits = 6;
     int num3 = input.readBits(nBits) + 1;
     for (int i = 0; i < num3; i++)
     {
         nBits = (input.readBit() == 0) ? 4 : 5;
         SupportedBandUTRA_FDD item = (SupportedBandUTRA_FDD)input.readBits(nBits);
         sutra_fdd.supportedBandListUTRA_FDD.Add(item);
     }
     return sutra_fdd;
 }