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

                sgeran.InitDefaults();
                sgeran.supportedBandListGERAN = new List <SupportedBandGERAN>();
                int nBits = 6;
                int num3  = input.ReadBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    nBits = (input.ReadBit() == 0) ? 4 : 4;
                    SupportedBandGERAN item = (SupportedBandGERAN)input.ReadBits(nBits);
                    sgeran.supportedBandListGERAN.Add(item);
                }
                sgeran.interRAT_PS_HO_ToGERAN = input.ReadBit() == 1;
                return(sgeran);
            }
Exemplo n.º 2
0
 public IRAT_ParametersGERAN Decode(BitArrayInputStream input)
 {
     IRAT_ParametersGERAN sgeran = new IRAT_ParametersGERAN();
     sgeran.InitDefaults();
     sgeran.supportedBandListGERAN = new List<SupportedBandGERAN>();
     int nBits = 6;
     int num3 = input.readBits(nBits) + 1;
     for (int i = 0; i < num3; i++)
     {
         nBits = (input.readBit() == 0) ? 4 : 4;
         SupportedBandGERAN item = (SupportedBandGERAN)input.readBits(nBits);
         sgeran.supportedBandListGERAN.Add(item);
     }
     sgeran.interRAT_PS_HO_ToGERAN = input.readBit() == 1;
     return sgeran;
 }