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
(
char[] buf
,)

Parameters

buf char[]

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

bytesRead gsize

returns the number of bytes actually read

Return Value

Type: GIOError

G_IO_ERROR_NONE if the operation was successful.

Meta