HeaderList.writeToStream

Write the headers to a stream.

Parameters

options gmime.format_options.FormatOptions

a #GMimeFormatOptions or null

stream gmime.stream.Stream

output stream

Return Value

Type: ptrdiff_t

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