read_to_end
Description:
public IOStatus read_to_end (out string str_return, out size_t length) throws ConvertError, IOChannelError
Reads all the remaining data from the file.
Parameters:
this | |
str_return |
Location to store a pointer to a string holding the remaining data in the IOChannel. 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. |
length |
location to store length of the data |
Returns:
g_io_status_normal on success. This function never returns g_io_status_eof . |