pub fn write_v2_msg<M, W>( w: &mut W, header: MavHeader, data: &M, ) -> Result<usize, MessageWriteError>where M: Message, W: Write,
Write a MAVLink v2 message to a Write stream.