InputStream.readAllAsync
void readAllAsync(ref ubyte[] buffer, int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Request an asynchronous read of count bytes from the stream into the buffer starting at buffer.
This is the asynchronous equivalent of gio.input_stream.InputStream.readAll.
Call gio.input_stream.InputStream.readAllFinish to collect the result.
Any outstanding I/O request with higher priority (lower numerical value) will be executed before an outstanding request with lower priority. Default priority is glib.types.PRIORITY_DEFAULT.
Parameters
buffer | a buffer to read data into (which should be at least count bytes long) |
ioPriority | the I/O priority of the request |
cancellable | optional #GCancellable object, null to ignore |
callback | a #GAsyncReadyCallback to call when the request is satisfied |