output_stream_writev_all


Description:


[ Version ( since = "1.2" ) ]
public Future output_stream_writev_all (OutputStream stream, OutputVector[] vectors, int io_priority)

Writes all bytes in vectors to stream.

This function copies the vectors array before starting the operation, but the buffers referenced by the vectors must remain valid until the returned future completes.

Wraps [method@Gio.OutputStream.writev_all_async].

Parameters:

stream

a [class@Gio.OutputStream]

vectors

vectors to write to stream

io_priority

the IO priority of the request

n_vectors

the number of vectors to write

Returns:

a [class@Dex.Future] that resolves to a `guint64` containing the number of bytes written, or rejects with error.


Namespace: Dex
Package: libdex-1