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

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

                if (stream.Read())
                {
                    int nBits = input.ReadBits(8);
                    es.lateNonCriticalExtension = input.readOctetString(nBits);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = UE_EUTRA_Capability_v1020_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
예제 #2
0
 public UE_EUTRA_Capability_v940_IEs Decode(BitArrayInputStream input)
 {
     UE_EUTRA_Capability_v940_IEs es = new UE_EUTRA_Capability_v940_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         int nBits = input.readBits(8);
         es.lateNonCriticalExtension = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = UE_EUTRA_Capability_v1020_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }