示例#1
0
 public E_RABReleaseCommand Decode(BitArrayInputStream input)
 {
     E_RABReleaseCommand command = new E_RABReleaseCommand();
     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;
 }
示例#2
0
            public E_RABReleaseCommand Decode(BitArrayInputStream input)
            {
                E_RABReleaseCommand command = new E_RABReleaseCommand();

                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);
            }