ObjectWrap.writeToStream
ptrdiff_t writeToStream(gmime.format_options.FormatOptions options, gmime.stream.Stream stream)Write the headers and content of the MIME object to stream.
Parameters
options | a #GMimeFormatOptions or null |
stream | stream |
Returns
the number of bytes written or %-1 on fail.