Beispiel #1
0
 public MultiBandInfo_v9e0 Decode(BitArrayInputStream input)
 {
     MultiBandInfo_v9e0 _ve = new MultiBandInfo_v9e0();
     _ve.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _ve.freqBandIndicator_v9e0 = input.readBits(8) + 0x41;
     }
     return _ve;
 }
Beispiel #2
0
            public MultiBandInfo_v9e0 Decode(BitArrayInputStream input)
            {
                MultiBandInfo_v9e0 _ve = new MultiBandInfo_v9e0();

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

                if (stream.Read())
                {
                    _ve.freqBandIndicator_v9e0 = input.ReadBits(8) + 0x41;
                }
                return(_ve);
            }
Beispiel #3
0
            public InterFreqCarrierFreqInfo_v9e0 Decode(BitArrayInputStream input)
            {
                InterFreqCarrierFreqInfo_v9e0 _ve = new InterFreqCarrierFreqInfo_v9e0();

                _ve.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 2);

                if (stream.Read())
                {
                    _ve.dl_CarrierFreq_v9e0 = input.readBits(0x12) + 0x10000;
                }
                if (stream.Read())
                {
                    _ve.multiBandInfoList_v9e0 = new List <MultiBandInfo_v9e0>();
                    int nBits = 3;
                    int num3  = input.readBits(nBits) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        MultiBandInfo_v9e0 item = MultiBandInfo_v9e0.PerDecoder.Instance.Decode(input);
                        _ve.multiBandInfoList_v9e0.Add(item);
                    }
                }
                return(_ve);
            }