write_to_stream


Description:

public ssize_t write_to_stream (FormatOptions? options, Stream stream)

Write the headers and content of the MIME object to stream.

Parameters:

this

a Object

options

a FormatOptions or null

stream

stream

Returns:

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