Ejemplo n.º 1
0
            public CounterCheckResponse_v8a0_IEs Decode(BitArrayInputStream input)
            {
                CounterCheckResponse_v8a0_IEs es = new CounterCheckResponse_v8a0_IEs();

                es.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 2);

                if (stream.Read())
                {
                    int nBits = input.readBits(8);
                    es.lateNonCriticalExtension = input.readOctetString(nBits);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 2
0
 public CounterCheckResponse_v8a0_IEs Decode(BitArrayInputStream input)
 {
     CounterCheckResponse_v8a0_IEs es = new CounterCheckResponse_v8a0_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         int nBits = input.readBits(8);
         es.lateNonCriticalExtension = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
     }
     return es;
 }