Gio.OutputStream.prototype.write_bytes_finish

function write_bytes_finish(result: Gio.AsyncResult): Number(gssize) {
    // Gjs wrapper for g_output_stream_write_bytes_finish()
}
  

Finishes a stream write-from-GLib.Bytes operation.

result

a Gio.AsyncResult.

Returns

a #gssize containing the number of bytes written to the stream.