Пример #1
0
            public RRCConnectionRelease_r8_IEs Decode(BitArrayInputStream input)
            {
                RRCConnectionRelease_r8_IEs es = new RRCConnectionRelease_r8_IEs();

                es.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 3);
                const int     nBits  = 2;

                es.releaseCause = (ReleaseCause)input.ReadBits(nBits);
                if (stream.Read())
                {
                    es.redirectedCarrierInfo = RedirectedCarrierInfo.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.idleModeMobilityControlInfo = IdleModeMobilityControlInfo.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = RRCConnectionRelease_v890_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Пример #2
0
 public RRCConnectionRelease_r8_IEs Decode(BitArrayInputStream input)
 {
     RRCConnectionRelease_r8_IEs es = new RRCConnectionRelease_r8_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     const int nBits = 2;
     es.releaseCause = (ReleaseCause)input.ReadBits(nBits);
     if (stream.Read())
     {
         es.redirectedCarrierInfo = RedirectedCarrierInfo.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.idleModeMobilityControlInfo = IdleModeMobilityControlInfo.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = RRCConnectionRelease_v890_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }