encode (MessageDownload)