Asynchronously loads the contents of file as #GBytes.
If file is a resource:// based URI, the resulting bytes will reference the embedded resource instead of a copy. Otherwise, this is equivalent to calling gio.file.File.loadContentsAsync and glib.bytes.Bytes.newTake.
callback should call gio.file.File.loadBytesFinish to get the result of this asynchronous operation.
See gio.file.File.loadBytes for more information.
a #GCancellable or null
a #GAsyncReadyCallback to call when the request is satisfied
Asynchronously loads the contents of file as #GBytes.
If file is a resource:// based URI, the resulting bytes will reference the embedded resource instead of a copy. Otherwise, this is equivalent to calling gio.file.File.loadContentsAsync and glib.bytes.Bytes.newTake.
callback should call gio.file.File.loadBytesFinish to get the result of this asynchronous operation.
See gio.file.File.loadBytes for more information.