示例#1
0
            public CSFBParametersResponseCDMA2000_r8_IEs Decode(BitArrayInputStream input)
            {
                CSFBParametersResponseCDMA2000_r8_IEs es = new CSFBParametersResponseCDMA2000_r8_IEs();

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

                es.rand = input.ReadBitString(0x20);
                int nBits = input.ReadBits(8);

                es.mobilityParameters = input.readOctetString(nBits);
                if (stream.Read())
                {
                    es.nonCriticalExtension = CSFBParametersResponseCDMA2000_v8a0_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
示例#2
0
文件: CSFB.cs 项目: ouyh18/LteTools
 public CSFBParametersResponseCDMA2000_r8_IEs Decode(BitArrayInputStream input)
 {
     CSFBParametersResponseCDMA2000_r8_IEs es = new CSFBParametersResponseCDMA2000_r8_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     es.rand = input.readBitString(0x20);
     int nBits = input.readBits(8);
     es.mobilityParameters = input.readOctetString(nBits);
     if (stream.Read())
     {
         es.nonCriticalExtension = CSFBParametersResponseCDMA2000_v8a0_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }