decode_to_output_stream


Description:

[ Version ( since = "3.12" ) ]
public async ssize_t decode_to_output_stream (OutputStream output_stream, int io_priority, Cancellable? cancellable = null) throws Error

Asynchronously writes the decoded data content to output_stream.

When the operation is finished, callback will be called. You can then call decode_to_output_stream.end to get the result of the operation.

Parameters:

this

a DataWrapper

output_stream

a OutputStream

io_priority

the I/O priority of the request

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function




2022 vala-language.org