public UE_S1AP_IDs Decode(BitArrayInputStream input) { UE_S1AP_IDs ds = new UE_S1AP_IDs(); ds.InitDefaults(); input.ReadBit(); switch (input.ReadBits(1)) { case 0: ds.uE_S1AP_ID_pair = UE_S1AP_ID_pair.PerDecoder.Instance.Decode(input); return ds; case 1: { int num4 = input.ReadBits(2) + 1; input.skipUnreadedBits(); ds.mME_UE_S1AP_ID = input.ReadBits(num4 * 8); return ds; } } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public UE_S1AP_IDs Decode(BitArrayInputStream input) { UE_S1AP_IDs ds = new UE_S1AP_IDs(); ds.InitDefaults(); input.readBit(); switch (input.readBits(1)) { case 0: ds.uE_S1AP_ID_pair = UE_S1AP_ID_pair.PerDecoder.Instance.Decode(input); return(ds); case 1: { int num4 = input.readBits(2) + 1; input.skipUnreadedBits(); ds.mME_UE_S1AP_ID = input.readBits(num4 * 8); return(ds); } } throw new Exception(GetType().Name + ":NoChoice had been choose"); }