[ Version ( since = "3.0" ) ]
public virtual ssize_t decode_to_stream_sync (Stream stream, Cancellable? cancellable = null) throws Error
Writes the decoded data content to stream
.
<note> <para> This function may block even if the given output stream does not. For example, the content may have to be
fetched across a network before it can be written to stream
. </para> </note>
this | |
stream |
a Stream for decoded data to be written to |
cancellable |
optional Cancellable object, or null |
the number of bytes written, or -1 on error |