public ULHandoverPreparationTransfer_v8a0_IEs Decode(BitArrayInputStream input)
            {
                ULHandoverPreparationTransfer_v8a0_IEs es = new ULHandoverPreparationTransfer_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);
            }
 public ULHandoverPreparationTransfer_v8a0_IEs Decode(BitArrayInputStream input)
 {
     ULHandoverPreparationTransfer_v8a0_IEs es = new ULHandoverPreparationTransfer_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;
 }