Exemple #1
0
            public HandoverCommand Decode(BitArrayInputStream input)
            {
                var command = new HandoverCommand();

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

                for (var i = 0; i < num5; i++)
                {
                    var item = ProtocolIE_Field.PerDecoder.Instance.Decode(input);
                    command.protocolIEs.Add(item);
                }
                return(command);
            }
Exemple #2
0
 public HandoverCommand Decode(BitArrayInputStream input)
 {
     HandoverCommand command = new HandoverCommand();
     command.InitDefaults();
     input.readBit();
     input.skipUnreadedBits();
     command.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);
         command.protocolIEs.Add(item);
     }
     return command;
 }