Example #1
0
            public CarrierFreqCDMA2000 Decode(BitArrayInputStream input)
            {
                CarrierFreqCDMA2000 qcdma = new CarrierFreqCDMA2000();

                qcdma.InitDefaults();
                int nBits = (input.readBit() == 0) ? 5 : 5;

                qcdma.bandClass = (BandclassCDMA2000)input.readBits(nBits);
                qcdma.arfcn     = input.readBits(11);
                return(qcdma);
            }
Example #2
0
 public CarrierFreqCDMA2000 Decode(BitArrayInputStream input)
 {
     CarrierFreqCDMA2000 qcdma = new CarrierFreqCDMA2000();
     qcdma.InitDefaults();
     int nBits = (input.readBit() == 0) ? 5 : 5;
     qcdma.bandClass = (BandclassCDMA2000)input.readBits(nBits);
     qcdma.arfcn = input.readBits(11);
     return qcdma;
 }