IOChannel.read

Reads data from a #GIOChannel.

More...
class IOChannel
read
(
ref ubyte[] buf
,
out size_t bytesRead
)

Parameters

buf ubyte[]

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

bytesRead size_t

returns the number of bytes actually read

Return Value

Type: glib.types.IOError

G_IO_ERROR_NONE if the operation was successful.

Detailed Description

Deprecated: Use glib.iochannel.IOChannel.readChars instead.