loadBytesAsync
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 g_file_load_contents_async() and g_bytes_new_take().
Since
2.56
Parameters
cancellable
a #GCancellable or null
callback
a #GAsyncReadyCallback to call when the request is satisfied