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

                es.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 2);
                const int     num2   = 1;

                es.cdma2000_Type = (CDMA2000_Type)input.ReadBits(num2);
                if (stream.Read())
                {
                    es.meid = input.ReadBitString(0x38);
                }
                int nBits = input.ReadBits(8);

                es.dedicatedInfo = input.readOctetString(nBits);
                if (stream.Read())
                {
                    es.nonCriticalExtension = ULHandoverPreparationTransfer_v8a0_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Exemplo n.º 2
0
 public ULHandoverPreparationTransfer_r8_IEs Decode(BitArrayInputStream input)
 {
     ULHandoverPreparationTransfer_r8_IEs es = new ULHandoverPreparationTransfer_r8_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     const int num2 = 1;
     es.cdma2000_Type = (CDMA2000_Type)input.ReadBits(num2);
     if (stream.Read())
     {
         es.meid = input.ReadBitString(0x38);
     }
     int nBits = input.ReadBits(8);
     es.dedicatedInfo = input.readOctetString(nBits);
     if (stream.Read())
     {
         es.nonCriticalExtension = ULHandoverPreparationTransfer_v8a0_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }