Function: format-encode-buffer

Translate the buffer into FORMAT.
FORMAT defaults to `buffer-file-format'. It is a symbol naming one of the
formats defined in `format-alist', or a list of such symbols.