write_to_stream
Description:
public ssize_t write_to_stream (
Stream output_stream,
Cancellable? cancellable =
null)
throws Error
Write all of a stream (until eos) into another stream, in a blocking fashion.
Parameters:
this |
source Stream object
|
output_stream |
destination Stream object
|
cancellable |
optional Cancellable object, or null
|
Returns:
-1 on error, or the number of bytes succesfully copied across streams.
|