data_input_stream_read_line_utf8


Description:


[ Version ( since = "1.2" ) ]
public Future data_input_stream_read_line_utf8 (DataInputStream stream, int io_priority)

Reads a UTF-8 line from the data input stream.

Wraps [method@Gio.DataInputStream.read_line_async] with [method@Gio.DataInputStream.read_line_finish_utf8].

Parameters:

stream

a [class@Gio.DataInputStream]

io_priority

the IO priority of the request

Returns:

a [class@Dex.Future] that resolves to a string containing the line (without the line terminator), or null if the end of the stream is reached.


Namespace: Dex
Package: libdex-1