Esempio n. 1
0
            public WriteReplaceWarningRequest Decode(BitArrayInputStream input)
            {
                WriteReplaceWarningRequest request = new WriteReplaceWarningRequest();

                request.InitDefaults();
                input.ReadBit();
                input.skipUnreadedBits();
                request.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);
                    request.protocolIEs.Add(item);
                }
                return(request);
            }
Esempio n. 2
0
 public WriteReplaceWarningRequest Decode(BitArrayInputStream input)
 {
     WriteReplaceWarningRequest request = new WriteReplaceWarningRequest();
     request.InitDefaults();
     input.ReadBit();
     input.skipUnreadedBits();
     request.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);
         request.protocolIEs.Add(item);
     }
     return request;
 }