Beispiel #1
0
            public RRCConnectionSetupComplete_v12xy_IEs Decode(BitArrayInputStream input)
            {
                int num2;
                RRCConnectionSetupComplete_v12xy_IEs es = new RRCConnectionSetupComplete_v12xy_IEs();

                es.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 3);

                if (stream.Read())
                {
                    num2 = 2;
                    es.mobilityState_r12 = (mobilityState_r12_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    es.mobilityHistoryAvail_r12 = (mobilityHistoryAvail_r12_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
 public RRCConnectionSetupComplete_v12xy_IEs Decode(BitArrayInputStream input)
 {
     int num2;
     RRCConnectionSetupComplete_v12xy_IEs es = new RRCConnectionSetupComplete_v12xy_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     if (stream.Read())
     {
         num2 = 2;
         es.mobilityState_r12 = (mobilityState_r12_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         es.mobilityHistoryAvail_r12 = (mobilityHistoryAvail_r12_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
     }
     return es;
 }