decode_to_output_stream_sync
Description:
[ Version ( since = "3.12" ) ]
public virtual ssize_t decode_to_output_stream_sync (OutputStream output_stream, Cancellable? cancellable = null) throws Error
public virtual ssize_t decode_to_output_stream_sync (OutputStream output_stream, Cancellable? cancellable = null) throws Error
Writes the decoded data content to output_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 output_stream
. </para> </note>
Parameters:
this | |
output_stream | |
cancellable |
optional Cancellable object, or null |
Returns:
the number of bytes written, or -1 on error |