public ResetType Decode(BitArrayInputStream input) { int num4; ResetType type = new ResetType(); type.InitDefaults(); input.ReadBit(); switch (input.ReadBits(1)) { case 0: num4 = 1; type.s1_Interface = (ResetAll)input.ReadBits(num4); return(type); case 1: { input.skipUnreadedBits(); type.partOfS1_Interface = new List <ProtocolIE_Field>(); num4 = 8; int num6 = input.ReadBits(num4) + 1; for (int i = 0; i < num6; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); type.partOfS1_Interface.Add(item); } return(type); } } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public ENB_StatusTransfer_TransparentContainer Decode(BitArrayInputStream input) { ENB_StatusTransfer_TransparentContainer container = new ENB_StatusTransfer_TransparentContainer(); container.InitDefaults(); BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); input.skipUnreadedBits(); container.bearers_SubjectToStatusTransferList = new List <ProtocolIE_Field>(); int nBits = 8; int num5 = input.readBits(nBits) + 1; for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); container.bearers_SubjectToStatusTransferList.Add(item); } if (stream.Read()) { input.skipUnreadedBits(); container.iE_Extensions = new List <ProtocolExtensionField>(); nBits = 0x10; int num7 = input.readBits(nBits) + 1; for (int j = 0; j < num7; j++) { ProtocolExtensionField field2 = ProtocolExtensionField.PerDecoder.Instance.Decode(input); container.iE_Extensions.Add(field2); } } return(container); }
public ProtocolIE_Field Decode(BitArrayInputStream input) { ProtocolIE_Field field = new ProtocolIE_Field(); field.InitDefaults(); int num4 = input.ReadBits(1) + 1; input.skipUnreadedBits(); field.id = input.ReadBits(num4 * 8); num4 = 2; field.criticality = (Criticality)input.ReadBits(num4); input.skipUnreadedBits(); int nBits = 0; while (true) { switch (input.ReadBit()) { case 0: nBits += input.ReadBits(7); goto Label_00DD; case 1: switch (input.ReadBit()) { case 0: nBits += input.ReadBits(14); goto Label_00DD; case 1: input.ReadBits(2); nBits += input.ReadBits(4) * 0x400; break; } break; } } Label_00DD: long num3 = input.Position; try { field.value = S1AP_PROTOCOL_IES.Switcher(field.id, "Value", input); input.skipUnreadedBits(); } catch (Exception) { input.skipUnreadedBits(); input.Position = num3; field.value = input.readOctetString(nBits); } if (input.Position != (num3 + nBits)) { input.Position = num3 + nBits; } return(field); }
public ProtocolIE_Field Decode(BitArrayInputStream input) { ProtocolIE_Field field = new ProtocolIE_Field(); field.InitDefaults(); int num4 = input.ReadBits(1) + 1; input.skipUnreadedBits(); field.id = input.ReadBits(num4 * 8); num4 = 2; field.criticality = (Criticality)input.ReadBits(num4); input.skipUnreadedBits(); int nBits = 0; while (true) { switch (input.ReadBit()) { case 0: nBits += input.ReadBits(7); goto Label_00DD; case 1: switch (input.ReadBit()) { case 0: nBits += input.ReadBits(14); goto Label_00DD; case 1: input.ReadBits(2); nBits += input.ReadBits(4) * 0x400; break; } break; } } Label_00DD: long num3 = input.Position; try { field.value = S1AP_PROTOCOL_IES.Switcher(field.id, "Value", input); input.skipUnreadedBits(); } catch (Exception) { input.skipUnreadedBits(); input.Position = num3; field.value = input.readOctetString(nBits); } if (input.Position != (num3 + nBits)) { input.Position = num3 + nBits; } return field; }
public UEContextReleaseComplete Decode(BitArrayInputStream input) { UEContextReleaseComplete complete = new UEContextReleaseComplete(); complete.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); complete.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); complete.protocolIEs.Add(item); } return(complete); }
public WriteReplaceWarningRequest Decode(BitArrayInputStream input) { WriteReplaceWarningRequest request = new WriteReplaceWarningRequest(); request.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); request.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); request.protocolIEs.Add(item); } return(request); }
public MMEConfigurationUpdate Decode(BitArrayInputStream input) { MMEConfigurationUpdate update = new MMEConfigurationUpdate(); update.InitDefaults(); input.readBit(); input.skipUnreadedBits(); update.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.readBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); update.protocolIEs.Add(item); } return(update); }
public OverloadStop Decode(BitArrayInputStream input) { OverloadStop stop = new OverloadStop(); stop.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); stop.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); stop.protocolIEs.Add(item); } return(stop); }
public E_RABSetupResponse Decode(BitArrayInputStream input) { E_RABSetupResponse response = new E_RABSetupResponse(); response.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); response.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); response.protocolIEs.Add(item); } return(response); }
public HandoverRequired Decode(BitArrayInputStream input) { HandoverRequired required = new HandoverRequired(); required.InitDefaults(); input.readBit(); input.skipUnreadedBits(); required.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.readBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); required.protocolIEs.Add(item); } return(required); }
public TraceStart Decode(BitArrayInputStream input) { TraceStart start = new TraceStart(); start.InitDefaults(); input.readBit(); input.skipUnreadedBits(); start.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.readBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); start.protocolIEs.Add(item); } return(start); }
public TraceFailureIndication Decode(BitArrayInputStream input) { TraceFailureIndication indication = new TraceFailureIndication(); indication.InitDefaults(); input.readBit(); input.skipUnreadedBits(); indication.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.readBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); indication.protocolIEs.Add(item); } return(indication); }
public E_RABReleaseCommand Decode(BitArrayInputStream input) { E_RABReleaseCommand command = new E_RABReleaseCommand(); command.InitDefaults(); input.readBit(); input.skipUnreadedBits(); command.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.readBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); command.protocolIEs.Add(item); } return(command); }
public InitialContextSetupRequest Decode(BitArrayInputStream input) { InitialContextSetupRequest request = new InitialContextSetupRequest(); request.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); request.protocolIEs = new List <ProtocolIE_Field>(); int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); request.protocolIEs.Add(item); } return(request); }
public DownlinkNonUEAssociatedLPPaTransport Decode(BitArrayInputStream input) { DownlinkNonUEAssociatedLPPaTransport transport = new DownlinkNonUEAssociatedLPPaTransport(); transport.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); transport.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); transport.protocolIEs.Add(item); } return(transport); }
public DownlinkS1cdma2000tunneling Decode(BitArrayInputStream input) { DownlinkS1cdma2000tunneling kscdmatunneling = new DownlinkS1cdma2000tunneling(); kscdmatunneling.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); kscdmatunneling.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); kscdmatunneling.protocolIEs.Add(item); } return(kscdmatunneling); }
public S1SetupFailure Decode(BitArrayInputStream input) { S1SetupFailure failure = new S1SetupFailure(); failure.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); failure.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); failure.protocolIEs.Add(item); } return(failure); }
public Paging Decode(BitArrayInputStream input) { Paging paging = new Paging(); paging.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); paging.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); paging.protocolIEs.Add(item); } return(paging); }
public LocationReportingControl Decode(BitArrayInputStream input) { LocationReportingControl control = new LocationReportingControl(); control.InitDefaults(); input.readBit(); input.skipUnreadedBits(); control.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.readBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); control.protocolIEs.Add(item); } return(control); }
public DeactivateTrace Decode(BitArrayInputStream input) { DeactivateTrace trace = new DeactivateTrace(); trace.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); trace.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); trace.protocolIEs.Add(item); } return(trace); }
public ENBDirectInformationTransfer Decode(BitArrayInputStream input) { ENBDirectInformationTransfer transfer = new ENBDirectInformationTransfer(); transfer.InitDefaults(); input.readBit(); input.skipUnreadedBits(); transfer.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.readBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); transfer.protocolIEs.Add(item); } return(transfer); }
public PathSwitchRequestAcknowledge Decode(BitArrayInputStream input) { PathSwitchRequestAcknowledge acknowledge = new PathSwitchRequestAcknowledge(); acknowledge.InitDefaults(); input.readBit(); input.skipUnreadedBits(); acknowledge.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.readBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); acknowledge.protocolIEs.Add(item); } return(acknowledge); }
public ENBConfigurationUpdateAcknowledge Decode(BitArrayInputStream input) { ENBConfigurationUpdateAcknowledge acknowledge = new ENBConfigurationUpdateAcknowledge(); acknowledge.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); acknowledge.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); acknowledge.protocolIEs.Add(item); } return(acknowledge); }
public InitialUEMessage Decode(BitArrayInputStream input) { InitialUEMessage message = new InitialUEMessage(); message.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); message.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); message.protocolIEs.Add(item); } return(message); }
public SourceeNB_ToTargeteNB_TransparentContainer Decode(BitArrayInputStream input) { int num4; SourceeNB_ToTargeteNB_TransparentContainer container = new SourceeNB_ToTargeteNB_TransparentContainer(); container.InitDefaults(); BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 3) : new BitMaskStream(input, 3); input.skipUnreadedBits(); int nBits = 0; while (true) { switch (input.readBit()) { case 0: nBits += input.readBits(7); goto Label_00C9; case 1: switch (input.readBit()) { case 0: nBits += input.readBits(14); goto Label_00C9; case 1: input.readBits(2); nBits += input.readBits(4) * 0x400; break; } break; } } Label_00C9: container.rRC_Container = input.readOctetString(nBits); if (stream.Read()) { input.skipUnreadedBits(); container.e_RABInformationList = new List <ProtocolIE_Field>(); num4 = 8; int num5 = input.readBits(num4) + 1; for (int j = 0; j < num5; j++) { ProtocolIE_Field field = ProtocolIE_Field.PerDecoder.Instance.Decode(input); container.e_RABInformationList.Add(field); } } container.targetCell_ID = EUTRAN_CGI.PerDecoder.Instance.Decode(input); if (stream.Read()) { input.skipUnreadedBits(); container.subscriberProfileIDforRFP = input.readBits(8) + 1; } container.uE_HistoryInformation = new List <LastVisitedCell_Item>(); num4 = 4; int num7 = input.readBits(num4) + 1; for (int i = 0; i < num7; i++) { LastVisitedCell_Item item = LastVisitedCell_Item.PerDecoder.Instance.Decode(input); container.uE_HistoryInformation.Add(item); } if (stream.Read()) { input.skipUnreadedBits(); container.iE_Extensions = new List <ProtocolExtensionField>(); num4 = 0x10; int num9 = input.readBits(num4) + 1; for (int k = 0; k < num9; k++) { ProtocolExtensionField field2 = ProtocolExtensionField.PerDecoder.Instance.Decode(input); container.iE_Extensions.Add(field2); } } return(container); }