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

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

                es.ue_CapabilityRAT_ContainerList = new List <UE_CapabilityRAT_Container>();
                const int nBits = 4;
                int       num3  = input.readBits(nBits);

                for (int i = 0; i < num3; i++)
                {
                    UE_CapabilityRAT_Container item = UE_CapabilityRAT_Container.PerDecoder.Instance.Decode(input);
                    es.ue_CapabilityRAT_ContainerList.Add(item);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = UECapabilityInformation_v8a0_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 2
0
 public UECapabilityInformation_r8_IEs Decode(BitArrayInputStream input)
 {
     UECapabilityInformation_r8_IEs es = new UECapabilityInformation_r8_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     es.ue_CapabilityRAT_ContainerList = new List<UE_CapabilityRAT_Container>();
     const int nBits = 4;
     int num3 = input.readBits(nBits);
     for (int i = 0; i < num3; i++)
     {
         UE_CapabilityRAT_Container item = UE_CapabilityRAT_Container.PerDecoder.Instance.Decode(input);
         es.ue_CapabilityRAT_ContainerList.Add(item);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = UECapabilityInformation_v8a0_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }