Header.writeToStream
ptrdiff_t writeToStream(gmime.format_options.FormatOptions options, gmime.stream.Stream stream)Write the header to the specified stream.
Parameters
options | a #GMimeFormatOptions or null |
stream | a #GMimeStream |
Returns
the number of bytes written, or %-1 on fail.