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