예제 #1
0
            public X2SetupResponse Decode(BitArrayInputStream input)
            {
                X2SetupResponse response = new X2SetupResponse();

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