Example #1
0
 public MMEConfigurationTransfer Decode(BitArrayInputStream input)
 {
     MMEConfigurationTransfer transfer = new MMEConfigurationTransfer();
     transfer.InitDefaults();
     input.readBit();
     input.skipUnreadedBits();
     transfer.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);
         transfer.protocolIEs.Add(item);
     }
     return transfer;
 }
Example #2
0
            public MMEConfigurationTransfer Decode(BitArrayInputStream input)
            {
                MMEConfigurationTransfer transfer = new MMEConfigurationTransfer();

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