コード例 #1
0
            public RRCConnectionRelease_v890_IEs Decode(BitArrayInputStream input)
            {
                RRCConnectionRelease_v890_IEs es = new RRCConnectionRelease_v890_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 = RRCConnectionRelease_v920_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
コード例 #2
0
 public RRCConnectionRelease_v890_IEs Decode(BitArrayInputStream input)
 {
     RRCConnectionRelease_v890_IEs es = new RRCConnectionRelease_v890_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 = RRCConnectionRelease_v920_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }