readFinish

open fun readFinish(result: AsyncResult): <Error class: unknown class><Long>

Finishes an asynchronous stream read operation.

Return

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

Parameters

result

a #GAsyncResult.