IOChannel.write

glib.types.IOError write(string buf, out size_t bytesWritten)

Writes data to a #GIOChannel.

Parameters

bufthe buffer containing the data to write
bytesWrittenthe number of bytes actually written

Returns

G_IO_ERROR_NONE if the operation was successful.

Deprecated

Use [glib.iochannel.IOChannel.writeChars] instead.