IOChannel.read

Warning g_io_channel_read has been deprecated since version 2.2 and should not be used in newly-written code. Use g_io_channel_read_chars() instead. Reads data from a GIOChannel.

class IOChannel
read

Parameters

buf string

a buffer to read the data into (which should be at least count bytes long)

count gsize

the number of bytes to read from the GIOChannel

bytesRead gsize

returns the number of bytes actually read

Return Value

Type: GIOError

G_IO_ERROR_NONE if the operation was successful.

Meta