Exemple #1
0
            public X2Release Decode(BitArrayInputStream input)
            {
                X2Release release = new X2Release();

                release.InitDefaults();
                input.ReadBit();
                input.skipUnreadedBits();
                release.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);
                    release.protocolIEs.Add(item);
                }
                return(release);
            }
Exemple #2
0
 public X2Release Decode(BitArrayInputStream input)
 {
     X2Release release = new X2Release();
     release.InitDefaults();
     input.readBit();
     input.skipUnreadedBits();
     release.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);
         release.protocolIEs.Add(item);
     }
     return release;
 }