public RadioResourceConfigCommonSCell_r10 Decode(BitArrayInputStream input) { BitMaskStream stream2; RadioResourceConfigCommonSCell_r10 _r = new RadioResourceConfigCommonSCell_r10(); _r.InitDefaults(); bool flag = input.readBit() != 0; BitMaskStream stream = new BitMaskStream(input, 1); _r.nonUL_Configuration_r10 = nonUL_Configuration_r10_Type.PerDecoder.Instance.Decode(input); if (stream.Read()) { _r.ul_Configuration_r10 = ul_Configuration_r10_Type.PerDecoder.Instance.Decode(input); } if (flag) { stream2 = new BitMaskStream(input, 1); if (stream2.Read()) { _r.ul_CarrierFreq_v1090 = input.readBits(0x12) + 0x10000; } } if (flag) { stream2 = new BitMaskStream(input, 4); if (stream2.Read()) { _r.rach_ConfigCommonSCell_r11 = RACH_ConfigCommonSCell_r11.PerDecoder.Instance.Decode(input); } if (stream2.Read()) { _r.prach_ConfigSCell_r11 = PRACH_Config.PerDecoder.Instance.Decode(input); } if (stream2.Read()) { _r.tdd_Config_v1130 = TDD_Config_v1130.PerDecoder.Instance.Decode(input); } if (stream2.Read()) { _r.uplinkPowerControlCommonSCell_v1130 = UplinkPowerControlCommonSCell_v1130.PerDecoder.Instance.Decode(input); } } return(_r); }
public RadioResourceConfigCommonSCell_r10 Decode(BitArrayInputStream input) { BitMaskStream stream2; RadioResourceConfigCommonSCell_r10 _r = new RadioResourceConfigCommonSCell_r10(); _r.InitDefaults(); bool flag = input.ReadBit() != 0; BitMaskStream stream = new BitMaskStream(input, 1); _r.nonUL_Configuration_r10 = nonUL_Configuration_r10_Type.PerDecoder.Instance.Decode(input); if (stream.Read()) { _r.ul_Configuration_r10 = ul_Configuration_r10_Type.PerDecoder.Instance.Decode(input); } if (flag) { stream2 = new BitMaskStream(input, 1); if (stream2.Read()) { _r.ul_CarrierFreq_v1090 = input.ReadBits(0x12) + 0x10000; } } if (flag) { stream2 = new BitMaskStream(input, 4); if (stream2.Read()) { _r.rach_ConfigCommonSCell_r11 = RACH_ConfigCommonSCell_r11.PerDecoder.Instance.Decode(input); } if (stream2.Read()) { _r.prach_ConfigSCell_r11 = PRACH_Config.PerDecoder.Instance.Decode(input); } if (stream2.Read()) { _r.tdd_Config_v1130 = TDD_Config_v1130.PerDecoder.Instance.Decode(input); } if (stream2.Read()) { _r.uplinkPowerControlCommonSCell_v1130 = UplinkPowerControlCommonSCell_v1130.PerDecoder.Instance.Decode(input); } } return _r; }