readline package:gi-gio

Reads a line from the data input stream. Note that no encoding checks or conversion is performed; the input is not guaranteed to be UTF-8, and may in fact have embedded NUL characters. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned.
The asynchronous version of dataInputStreamReadLine. 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 dataInputStreamReadLineFinish to get the result of the operation. Since: 2.20
Finish an asynchronous call started by dataInputStreamReadLineAsync. Note the warning about string encoding in dataInputStreamReadLine applies here as well. Since: 2.20
Finish an asynchronous call started by dataInputStreamReadLineAsync. Since: 2.30
Reads a UTF-8 encoded line from the data input stream. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned. Since: 2.30