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

                acknowledge.InitDefaults();
                input.readBit();
                input.skipUnreadedBits();
                acknowledge.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);
                    acknowledge.protocolIEs.Add(item);
                }
                return(acknowledge);
            }