public rpdcch_Config_r10_Type Decode(BitArrayInputStream input) { rpdcch_Config_r10_Type type = new rpdcch_Config_r10_Type(); type.InitDefaults(); input.ReadBit(); const int nBits = 3; type.resourceAllocationType_r10 = (resourceAllocationType_r10_Enum)input.ReadBits(nBits); type.resourceBlockAssignment_r10 = resourceBlockAssignment_r10_Type.PerDecoder.Instance.Decode(input); type.demodulationRS_r10 = demodulationRS_r10_Type.PerDecoder.Instance.Decode(input); type.pdsch_Start_r10 = input.ReadBits(2) + 1; type.pucch_Config_r10 = pucch_Config_r10_Type.PerDecoder.Instance.Decode(input); return(type); }
public rpdcch_Config_r10_Type Decode(BitArrayInputStream input) { rpdcch_Config_r10_Type type = new rpdcch_Config_r10_Type(); type.InitDefaults(); input.ReadBit(); const int nBits = 3; type.resourceAllocationType_r10 = (resourceAllocationType_r10_Enum)input.ReadBits(nBits); type.resourceBlockAssignment_r10 = resourceBlockAssignment_r10_Type.PerDecoder.Instance.Decode(input); type.demodulationRS_r10 = demodulationRS_r10_Type.PerDecoder.Instance.Decode(input); type.pdsch_Start_r10 = input.ReadBits(2) + 1; type.pucch_Config_r10 = pucch_Config_r10_Type.PerDecoder.Instance.Decode(input); return type; }