public resourceBlockAssignment_r11_Type Decode(BitArrayInputStream input) { resourceBlockAssignment_r11_Type type = new resourceBlockAssignment_r11_Type(); type.InitDefaults(); const int nBits = 2; type.numberPRB_Pairs_r11 = (numberPRB_Pairs_r11_Enum)input.ReadBits(nBits); int num = input.ReadBits(6); type.resourceBlockAssignment_r11 = input.ReadBitString(num + 4); return(type); }
public resourceBlockAssignment_r11_Type Decode(BitArrayInputStream input) { resourceBlockAssignment_r11_Type type = new resourceBlockAssignment_r11_Type(); type.InitDefaults(); const int nBits = 2; type.numberPRB_Pairs_r11 = (numberPRB_Pairs_r11_Enum)input.ReadBits(nBits); int num = input.ReadBits(6); type.resourceBlockAssignment_r11 = input.ReadBitString(num + 4); return type; }