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); }
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; }