a buffer to read the data into (which should be at least count bytes long)
the number of bytes to read from the #GIOChannel
returns the number of bytes actually read
%G_IO_ERROR_NONE if the operation was successful.
Deprecated: Use g_io_channel_read_chars() instead.
Reads data from a #GIOChannel.