write_to_stream


Description:

public int64 write_to_stream (Stream dest)

Attempts to write the source stream to the destination stream.

Parameters:

this

source stream

dest

destination stream

Returns:

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