Ejemplo n.º 1
0
            public static ParametersCDMA2000_r11 Decode(BitArrayInputStream input)
            {
                var _r = new ParametersCDMA2000_r11();

                InitDefaults();
                var stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 3) : new BitMaskStream(input, 3);

                if (stream.Read())
                {
                    _r.systemTimeInfo_r11 = systemTimeInfo_r11_Type.PerDecoder.Instance.Decode(input);
                }
                _r.searchWindowSize_r11 = input.ReadBits(4);
                if (stream.Read())
                {
                    _r.parametersHRPD_r11 = parametersHRPD_r11_Type.PerDecoder.Decode(input);
                }
                if (stream.Read())
                {
                    _r.parameters1XRTT_r11 = parameters1XRTT_r11_Type.PerDecoder.Decode(input);
                }
                return(_r);
            }
Ejemplo n.º 2
0
 public static ParametersCDMA2000_r11 Decode(BitArrayInputStream input)
 {
     var _r = new ParametersCDMA2000_r11();
     InitDefaults();
     var stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 3) : new BitMaskStream(input, 3);
     if (stream.Read())
     {
         _r.systemTimeInfo_r11 = systemTimeInfo_r11_Type.PerDecoder.Instance.Decode(input);
     }
     _r.searchWindowSize_r11 = input.ReadBits(4);
     if (stream.Read())
     {
         _r.parametersHRPD_r11 = parametersHRPD_r11_Type.PerDecoder.Decode(input);
     }
     if (stream.Read())
     {
         _r.parameters1XRTT_r11 = parameters1XRTT_r11_Type.PerDecoder.Decode(input);
     }
     return _r;
 }