ObjectWrap.writeContentToStream

ptrdiff_t writeContentToStream(gmime.format_options.FormatOptions options, gmime.stream.Stream stream)

Write only the content of the MIME object to stream.

Parameters

optionsa #GMimeFormatOptions or null
streamstream

Returns

the number of bytes written or %-1 on fail.