Reads a line from the data input stream.
gDataInputStreamReadLine(object, cancellable = NULL, .errwarn = TRUE)
cancellable is not
NULL, then the operation can be cancelled by
triggering the cancellable object from another thread. If the operation
was cancelled, the error
G_IO_ERROR_CANCELLED will be returned.
A list containing the following elements:
- [char] a string with the line that was read in (without the newlines).
numericto get the length of the read line. On an error, it will return
errorwill be set. If there's no content to read, it will still return
errorwon't be set.
numericto get the length of the data read in.
GErrorfor error reporting.
Looks like there are no examples yet.