IOChannel.read

Reads data from a glib.IOChannel

More...
class IOChannel
read
(
string buf
,
size_t count
,
size_t* bytesRead
)

Parameters

buf string

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

count size_t

the number of bytes to read from the glib.IOChannel

bytesRead size_t*

returns the number of bytes actually read

Return Value

Type: GIOError

G_IO_ERROR_NONE if the operation was successful.

Detailed Description

Deprecated: Use g_io_channel_read_chars() instead.