public demodulationRS_r10_Type Decode(BitArrayInputStream input) { int num2; demodulationRS_r10_Type type = new demodulationRS_r10_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: num2 = 1; type.interleaving_r10 = (interleaving_r10_Enum)input.ReadBits(num2); return type; case 1: num2 = 1; type.noInterleaving_r10 = (noInterleaving_r10_Enum)input.ReadBits(num2); return type; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public demodulationRS_r10_Type Decode(BitArrayInputStream input) { int num2; demodulationRS_r10_Type type = new demodulationRS_r10_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: num2 = 1; type.interleaving_r10 = (interleaving_r10_Enum)input.ReadBits(num2); return(type); case 1: num2 = 1; type.noInterleaving_r10 = (noInterleaving_r10_Enum)input.ReadBits(num2); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }