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

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

                if (stream.Read())
                {
                    es.rn_SystemInfo_r10 = RN_SystemInfo_r10.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.rn_SubframeConfig_r10 = RN_SubframeConfig_r10.PerDecoder.Instance.Decode(input);
                }
                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);
            }
예제 #2
0
파일: RN.cs 프로젝트: ouyh18/LtePlatform
 public RNReconfiguration_r10_IEs Decode(BitArrayInputStream input)
 {
     RNReconfiguration_r10_IEs es = new RNReconfiguration_r10_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 4);
     if (stream.Read())
     {
         es.rn_SystemInfo_r10 = RN_SystemInfo_r10.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.rn_SubframeConfig_r10 = RN_SubframeConfig_r10.PerDecoder.Instance.Decode(input);
     }
     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;
 }