示例#1
0
            public HandoverFromEUTRAPreparationRequest_v1020_IEs Decode(BitArrayInputStream input)
            {
                HandoverFromEUTRAPreparationRequest_v1020_IEs es = new HandoverFromEUTRAPreparationRequest_v1020_IEs();

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

                if (stream.Read())
                {
                    int nBits = 1;
                    es.dualRxTxRedirectIndicator_r10 = (dualRxTxRedirectIndicator_r10_Enum)input.ReadBits(nBits);
                }
                if (stream.Read())
                {
                    es.redirectCarrierCDMA2000_1XRTT_r10 = CarrierFreqCDMA2000.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
示例#2
0
 public HandoverFromEUTRAPreparationRequest_v1020_IEs Decode(BitArrayInputStream input)
 {
     HandoverFromEUTRAPreparationRequest_v1020_IEs es = new HandoverFromEUTRAPreparationRequest_v1020_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     if (stream.Read())
     {
         int nBits = 1;
         es.dualRxTxRedirectIndicator_r10 = (dualRxTxRedirectIndicator_r10_Enum)input.readBits(nBits);
     }
     if (stream.Read())
     {
         es.redirectCarrierCDMA2000_1XRTT_r10 = CarrierFreqCDMA2000.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
     }
     return es;
 }