コード例 #1
0
            public UEContextReleaseComplete Decode(BitArrayInputStream input)
            {
                UEContextReleaseComplete complete = new UEContextReleaseComplete();

                complete.InitDefaults();
                input.ReadBit();
                input.skipUnreadedBits();
                complete.protocolIEs = new List <ProtocolIE_Field>();
                const int nBits = 0x10;
                int       num5  = input.ReadBits(nBits);

                for (int i = 0; i < num5; i++)
                {
                    ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input);
                    complete.protocolIEs.Add(item);
                }
                return(complete);
            }
コード例 #2
0
ファイル: UEContext.cs プロジェクト: ouyh18/LtePlatform
 public UEContextReleaseComplete Decode(BitArrayInputStream input)
 {
     UEContextReleaseComplete complete = new UEContextReleaseComplete();
     complete.InitDefaults();
     input.ReadBit();
     input.skipUnreadedBits();
     complete.protocolIEs = new List<ProtocolIE_Field>();
     const int nBits = 0x10;
     int num5 = input.ReadBits(nBits);
     for (int i = 0; i < num5; i++)
     {
         ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input);
         complete.protocolIEs.Add(item);
     }
     return complete;
 }