Beispiel #1
0
            public ProximityIndication_r9_IEs Decode(BitArrayInputStream input)
            {
                ProximityIndication_r9_IEs es = new ProximityIndication_r9_IEs();

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

                es.type_r9        = (type_r9_Enum)input.ReadBits(nBits);
                es.carrierFreq_r9 = carrierFreq_r9_Type.PerDecoder.Instance.Decode(input);
                if (stream.Read())
                {
                    es.nonCriticalExtension = ProximityIndication_v930_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
 public ProximityIndication_r9_IEs Decode(BitArrayInputStream input)
 {
     ProximityIndication_r9_IEs es = new ProximityIndication_r9_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     const int nBits = 1;
     es.type_r9 = (type_r9_Enum)input.ReadBits(nBits);
     es.carrierFreq_r9 = carrierFreq_r9_Type.PerDecoder.Instance.Decode(input);
     if (stream.Read())
     {
         es.nonCriticalExtension = ProximityIndication_v930_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }