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.

Throws

GException on failure.

Meta