MIME part content

MIME part content — Read or copy a MIME part's content with GMimeContent

Reading and copying content

A GMimeContent object holds a stream and its content transfer encoding. Use g_mime_content_open() to read decoded bytes without making a full copy, or g_mime_content_decode_to_stream() to write the decoded bytes to another stream. To copy the original bytes without decoding them, use g_mime_content_write_to_stream().