read_line_utf8_async


Description:

[ CCode ( cname = "g_data_input_stream_read_line_async" , finish_name = "g_data_input_stream_read_line_finish_utf8" ) ]
public async string? read_line_utf8_async (int io_priority = DEFAULT, Cancellable? cancellable = null, out size_t length = null) throws IOError

The asynchronous version of read_line.

It is an error to have two outstanding calls to this function.

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

Parameters:

this

a given DataInputStream.

io_priority

the I/O priority of the request

cancellable

optional Cancellable object, null to ignore.

callback

callback to call when the request is satisfied.

user_data

the data to pass to callback function.