InputStream.readFinish
ptrdiff_t readFinish(gio.async_result.AsyncResult result)Finishes an asynchronous stream read operation.
Parameters
result | a #GAsyncResult. |
Returns
number of bytes read in, or -1 on error, or 0 on end of file.
Throws
[ErrorWrap]