public void Serialize(System.IO.BinaryWriter writer, MavLink4Net.Messages.IMessage message) { MavLink4Net.Messages.Common.NamedValueFloatMessage tMessage = message as MavLink4Net.Messages.Common.NamedValueFloatMessage; writer.Write(tMessage.TimeBootMs); writer.Write(tMessage.Value); writer.Write(tMessage.Name[0]); writer.Write(tMessage.Name[1]); writer.Write(tMessage.Name[2]); writer.Write(tMessage.Name[3]); writer.Write(tMessage.Name[4]); writer.Write(tMessage.Name[5]); writer.Write(tMessage.Name[6]); writer.Write(tMessage.Name[7]); writer.Write(tMessage.Name[8]); writer.Write(tMessage.Name[9]); }