mm-encode-buffer

mm-encode-buffer is a compiled Lisp function in `mm-encode.el'.

(mm-encode-buffer TYPE &optional ENCODING)

Encode the buffer which contains data of MIME type TYPE by ENCODING.
TYPE is a string or a list of the components.
The optional ENCODING overrides the encoding determined according to
TYPE and `mm-content-transfer-encoding-defaults'.
The encoding used is returned.