Ejemplo n.º 1
0
            public UEAssistanceInformation_r11_IEs Decode(BitArrayInputStream input)
            {
                UEAssistanceInformation_r11_IEs es = new UEAssistanceInformation_r11_IEs();

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

                if (stream.Read())
                {
                    const int num2 = 1;
                    es.powerPrefIndication_r11 = (powerPrefIndication_r11_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    int nBits = input.ReadBits(8);
                    es.lateNonCriticalExtension = input.readOctetString(nBits);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 2
0
 public UEAssistanceInformation_r11_IEs Decode(BitArrayInputStream input)
 {
     UEAssistanceInformation_r11_IEs es = new UEAssistanceInformation_r11_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     if (stream.Read())
     {
         const int num2 = 1;
         es.powerPrefIndication_r11 = (powerPrefIndication_r11_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         int nBits = input.readBits(8);
         es.lateNonCriticalExtension = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
     }
     return es;
 }