GLib.IOChannel.prototype.read
function read(buf: String, count: Number(gsize), bytes_read: Number(gsize)): GLib.IOError {
// Gjs wrapper for g_io_channel_read()
}
Reads data from a GLib.IOChannel.
- buf
a buffer to read the data into (which should be at least count bytes long)
- count
the number of bytes to read from the GLib.IOChannel
- bytes_read
returns the number of bytes actually read
- Returns
GLib.IOError.none if the operation was successful.