protected override void DoUnmarshal(PduMarshaler marshaler)
{
this.Pad = marshaler.ReadByte();
this.NumberOfTunnels = marshaler.ReadUInt32();
List<TunnelType_Value> tunnelsToSwitchList = new List<TunnelType_Value>();
for (int i = 0; i < NumberOfTunnels; ++i)
{
tunnelsToSwitchList.Add((TunnelType_Value)marshaler.ReadUInt32());
}
this.TunnelsToSwitch = tunnelsToSwitchList.ToArray();
}