예제 #1
0
            public QuantityConfigEUTRA Decode(BitArrayInputStream input)
            {
                int num2;
                QuantityConfigEUTRA geutra = new QuantityConfigEUTRA();

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

                if (stream.Read())
                {
                    num2 = (input.readBit() == 0) ? 4 : 4;
                    geutra.filterCoefficientRSRP = (FilterCoefficient)input.readBits(num2);
                }
                if (stream.Read())
                {
                    num2 = (input.readBit() == 0) ? 4 : 4;
                    geutra.filterCoefficientRSRQ = (FilterCoefficient)input.readBits(num2);
                }
                return(geutra);
            }
예제 #2
0
 public QuantityConfigEUTRA Decode(BitArrayInputStream input)
 {
     int num2;
     QuantityConfigEUTRA geutra = new QuantityConfigEUTRA();
     geutra.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         num2 = (input.readBit() == 0) ? 4 : 4;
         geutra.filterCoefficientRSRP = (FilterCoefficient)input.readBits(num2);
     }
     if (stream.Read())
     {
         num2 = (input.readBit() == 0) ? 4 : 4;
         geutra.filterCoefficientRSRQ = (FilterCoefficient)input.readBits(num2);
     }
     return geutra;
 }