code: func (m *Heartbeat) Decode(buf []byte) {
  	data := bytes.NewBuffer(buf)
  	binary.Read(data, binary.LittleEndian, &m.CUSTOM_MODE)
  	binary.Read(data, binary.LittleEndian, &m.TYPE)
  	binary.Read(data, binary.LittleEndian, &m.AUTOPILOT)
  	binary.Read(data, binary.LittleEndian, &m.BASE_MODE)
  	binary.Read(data, binary.LittleEndian, &m.SYSTEM_STATUS)
  	binary.Read(data, binary.LittleEndian, &m.MAVLINK_VERSION)
  }
docs: // Decode accepts a packed byte array and populates the fields of the Heartbeat