public void Serialize(System.IO.BinaryWriter writer, MavLink4Net.Messages.IMessage message)
 {
     MavLink4Net.Messages.Common.MissionWritePartialListMessage tMessage = message as MavLink4Net.Messages.Common.MissionWritePartialListMessage;
     writer.Write(tMessage.StartIndex);
     writer.Write(tMessage.EndIndex);
     writer.Write(tMessage.TargetSystem);
     writer.Write(tMessage.TargetComponent);
 }
 public MavLink4Net.Messages.IMessage Deserialize(System.IO.BinaryReader reader)
 {
     MavLink4Net.Messages.Common.MissionWritePartialListMessage message = new MavLink4Net.Messages.Common.MissionWritePartialListMessage();
     message.StartIndex      = reader.ReadInt16();
     message.EndIndex        = reader.ReadInt16();
     message.TargetSystem    = reader.ReadByte();
     message.TargetComponent = reader.ReadByte();
     return(message);
 }