ObjectWrap.writeContentToStream

Write only the content of the MIME object to stream.

class ObjectWrap
ptrdiff_t
writeContentToStream

Parameters

options gmime.format_options.FormatOptions

a #GMimeFormatOptions or null

stream gmime.stream.Stream

stream

Return Value

Type: ptrdiff_t

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