Loads the contents of file and returns it as glib.Bytes
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() and Bytes.newTake.
For resources, etag_out will be set to NULL.
The data contained in the resulting glib.Bytes is always zero-terminated, but
this is not included in the glib.Bytes length. The resulting glib.Bytes should be
freed with Bytes.unref when no longer in use.
Loads the contents of file and returns it as glib.Bytes
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() and Bytes.newTake.
For resources, etag_out will be set to NULL.
The data contained in the resulting glib.Bytes is always zero-terminated, but this is not included in the glib.Bytes length. The resulting glib.Bytes should be freed with Bytes.unref when no longer in use.