Stream.writeToStream

Attempts to write the source stream to the destination stream.

class Stream
long
writeToStream

Parameters

dest gmime.stream.Stream

destination stream

Return Value

Type: long

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