GLib.IOChannel.prototype.write

function write(buf: String, count: Number(gsize), bytes_written: Number(gsize)): GLib.IOError {
    // Gjs wrapper for g_io_channel_write()
}
  

Writes data to a GLib.IOChannel.

buf

the buffer containing the data to write

count

the number of bytes to write

bytes_written

the number of bytes actually written

Returns

GLib.IOError.none if the operation was successful.