예제 #1
0
            public MobilityFromEUTRACommand_v960_IEs Decode(BitArrayInputStream input)
            {
                MobilityFromEUTRACommand_v960_IEs es = new MobilityFromEUTRACommand_v960_IEs();

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

                if (stream.Read())
                {
                    const int nBits = 1;
                    es.bandIndicator = (BandIndicatorGERAN)input.ReadBits(nBits);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
예제 #2
0
 public MobilityFromEUTRACommand_v960_IEs Decode(BitArrayInputStream input)
 {
     MobilityFromEUTRACommand_v960_IEs es = new MobilityFromEUTRACommand_v960_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         const int nBits = 1;
         es.bandIndicator = (BandIndicatorGERAN)input.ReadBits(nBits);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
     }
     return es;
 }