code: func (m *Heartbeat) Pack() []byte {
  	data := new(bytes.Buffer)
  	binary.Write(data, binary.LittleEndian, m.CUSTOM_MODE)
  	binary.Write(data, binary.LittleEndian, m.TYPE)
  	binary.Write(data, binary.LittleEndian, m.AUTOPILOT)
  	binary.Write(data, binary.LittleEndian, m.BASE_MODE)
  	binary.Write(data, binary.LittleEndian, m.SYSTEM_STATUS)
  	binary.Write(data, binary.LittleEndian, m.MAVLINK_VERSION)
  	return data.Bytes()
  }
docs: // Pack returns a packed byte array which represents a Heartbeat payload