InputStream.readFinish

Finishes an asynchronous stream read operation.

class InputStream
ptrdiff_t
readFinish

Parameters

result AsyncResultIF

Return Value

Type: ptrdiff_t

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

Throws

GException on failure.