InputStream.readBytesFinish

Finishes an asynchronous stream read-into-#GBytes operation.

class InputStream
readBytesFinish

Parameters

result gio.async_result.AsyncResult

a #GAsyncResult.

Return Value

Type: glib.bytes.Bytes

the newly-allocated #GBytes, or null on error