public InDeviceCoexIndication_r11_IEs Decode(BitArrayInputStream input) { InDeviceCoexIndication_r11_IEs es = new InDeviceCoexIndication_r11_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 4); if (stream.Read()) { es.affectedCarrierFreqList_r11 = new List <AffectedCarrierFreq_r11>(); int num2 = 5; int num3 = input.ReadBits(num2) + 1; for (int i = 0; i < num3; i++) { AffectedCarrierFreq_r11 item = AffectedCarrierFreq_r11.PerDecoder.Instance.Decode(input); es.affectedCarrierFreqList_r11.Add(item); } } if (stream.Read()) { es.tdm_AssistanceInfo_r11 = TDM_AssistanceInfo_r11.PerDecoder.Instance.Decode(input); } 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 AffectedCarrierFreq_r11 Decode(BitArrayInputStream input) { AffectedCarrierFreq_r11 _r = new AffectedCarrierFreq_r11(); _r.InitDefaults(); _r.carrierFreq_r11 = input.readBits(5) + 1; const int nBits = 2; _r.interferenceDirection_r11 = (interferenceDirection_r11_Enum)input.readBits(nBits); return _r; }
public AffectedCarrierFreq_r11 Decode(BitArrayInputStream input) { AffectedCarrierFreq_r11 _r = new AffectedCarrierFreq_r11(); _r.InitDefaults(); _r.carrierFreq_r11 = input.readBits(5) + 1; const int nBits = 2; _r.interferenceDirection_r11 = (interferenceDirection_r11_Enum)input.readBits(nBits); return(_r); }