Beispiel #1
0
            public IRAT_ParametersUTRA_TDD768 Decode(BitArrayInputStream input)
            {
                IRAT_ParametersUTRA_TDD768 sutra_tdd = new IRAT_ParametersUTRA_TDD768();

                sutra_tdd.InitDefaults();
                sutra_tdd.supportedBandListUTRA_TDD768 = new List <SupportedBandUTRA_TDD768>();
                int nBits = 6;
                int num3  = input.ReadBits(nBits) + 1;

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