public physCellId_r11_Type Decode(BitArrayInputStream input) { physCellId_r11_Type type = new physCellId_r11_Type(); type.InitDefaults(); switch (input.readBits(1)) { case 0: type.fdd_r11 = input.readBits(9); return(type); case 1: type.tdd_r11 = input.readBits(7); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public physCellId_r11_Type Decode(BitArrayInputStream input) { physCellId_r11_Type type = new physCellId_r11_Type(); type.InitDefaults(); switch (input.readBits(1)) { case 0: type.fdd_r11 = input.readBits(9); return type; case 1: type.tdd_r11 = input.readBits(7); return type; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }