Gio.InputStream::read_finish

function vfunc_read_finish(result: Gio.AsyncResult): Number(gssize) {
}
  

Finishes an asynchronous stream read operation.

result

a Gio.AsyncResult.

Returns

number of bytes read in, or -1 on error, or 0 on end of file.