public longDRX_CycleStartOffset_v1130_Type Decode(BitArrayInputStream input) { longDRX_CycleStartOffset_v1130_Type type = new longDRX_CycleStartOffset_v1130_Type(); type.InitDefaults(); switch (input.readBits(1)) { case 0: type.sf60_v1130 = input.readBits(6); return(type); case 1: type.sf70_v1130 = input.readBits(7); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public longDRX_CycleStartOffset_v1130_Type Decode(BitArrayInputStream input) { longDRX_CycleStartOffset_v1130_Type type = new longDRX_CycleStartOffset_v1130_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: type.sf60_v1130 = input.ReadBits(6); return type; case 1: type.sf70_v1130 = input.ReadBits(7); return type; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }