public headerCompression_Type Decode(BitArrayInputStream input) { headerCompression_Type type = new headerCompression_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: return type; case 1: type.rohc = rohc_Type.PerDecoder.Instance.Decode(input); return type; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public headerCompression_Type Decode(BitArrayInputStream input) { headerCompression_Type type = new headerCompression_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: return(type); case 1: type.rohc = rohc_Type.PerDecoder.Instance.Decode(input); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }