IOChannel.readToEnd

Reads all the remaining data from the file.

class IOChannel
readToEnd
(
out string strReturn
)

Parameters

strReturn string

Location to store a pointer to a string holding the remaining data in the GIOChannel. This data should be freed with g_free() when no longer needed. This data is terminated by an extra nul character, but there may be other nuls in the intervening data.

Return Value

Type: GIOStatus

G_IO_STATUS_NORMAL on success. This function never returns G_IO_STATUS_EOF.

Throws

GException on failure.

Meta