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

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