File.loadContentsFinish

bool loadContentsFinish(gio.async_result.AsyncResult res, out ubyte[] contents, out string etagOut)

Finishes an asynchronous load of the file's contents. The contents are placed in contents, and length is set to the size of the contents string. The contents should be freed with [glib.global.gfree] when no longer needed. If etag_out is present, it will be set to the new entity tag for the file.

Parameters

resa #GAsyncResult
contentsa location to place the contents of the file
etagOuta location to place the current entity tag for the file, or null if the entity tag is not needed

Returns

true if the load was successful. If false and error is

present, it will be set appropriately.

Throws

[ErrorWrap]