Function
Dexfile_replace_contents_bytes
Declaration [src]
DexFuture*
dex_file_replace_contents_bytes (
  GFile* file,
  GBytes* contents,
  const char* etag,
  gboolean make_backup,
  GFileCreateFlags flags
)
Parameters
- file
- 
            Type: GFileA GFile.The data is owned by the caller of the function. 
- contents
- 
            Type: GBytesA GBytes.The data is owned by the caller of the function. 
- etag
- 
            Type: const char*The etag or NULL.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. 
- make_backup
- 
            Type: gbooleanIf a backup file should be created. 
- flags
- 
            Type: GFileCreateFlagsA set of GFileCreateFlags.
Return value
Type: DexFuture
A DexFuture which resolves to the
  new etag. Therefore, it is possible to be NULL without an
  error having occurred.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |