Ejemplo n.º 1
0
            public BandInfoEUTRA Decode(BitArrayInputStream input)
            {
                BandInfoEUTRA oeutra = new BandInfoEUTRA();

                oeutra.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 1);

                oeutra.interFreqBandList = new List <InterFreqBandInfo>();
                int nBits = 6;
                int num3  = input.readBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    InterFreqBandInfo item = InterFreqBandInfo.PerDecoder.Instance.Decode(input);
                    oeutra.interFreqBandList.Add(item);
                }
                if (stream.Read())
                {
                    oeutra.interRAT_BandList = new List <InterRAT_BandInfo>();
                    nBits = 6;
                    int num5 = input.readBits(nBits) + 1;
                    for (int j = 0; j < num5; j++)
                    {
                        InterRAT_BandInfo info2 = InterRAT_BandInfo.PerDecoder.Instance.Decode(input);
                        oeutra.interRAT_BandList.Add(info2);
                    }
                }
                return(oeutra);
            }
Ejemplo n.º 2
0
            public InterRAT_BandInfo Decode(BitArrayInputStream input)
            {
                InterRAT_BandInfo info = new InterRAT_BandInfo();

                info.InitDefaults();
                info.interRAT_NeedForGaps = input.readBit() == 1;
                return(info);
            }
Ejemplo n.º 3
0
            protected override void ProcessConfig(BandInfoEUTRA config, BitArrayInputStream input)
            {
                BitMaskStream stream = new BitMaskStream(input, 1);

                config.interFreqBandList = new List <InterFreqBandInfo>();
                int num3 = input.ReadBits(6) + 1;

                for (int i = 0; i < num3; i++)
                {
                    InterFreqBandInfo item = InterFreqBandInfo.PerDecoder.Instance.Decode(input);
                    config.interFreqBandList.Add(item);
                }
                if (stream.Read())
                {
                    config.interRAT_BandList = new List <InterRAT_BandInfo>();
                    int num5 = input.ReadBits(6) + 1;
                    for (int j = 0; j < num5; j++)
                    {
                        InterRAT_BandInfo info2 = InterRAT_BandInfo.PerDecoder.Instance.Decode(input);
                        config.interRAT_BandList.Add(info2);
                    }
                }
            }
Ejemplo n.º 4
0
 public InterRAT_BandInfo Decode(BitArrayInputStream input)
 {
     InterRAT_BandInfo info = new InterRAT_BandInfo();
     info.InitDefaults();
     info.interRAT_NeedForGaps = input.readBit() == 1;
     return info;
 }