Hex.Buffer.write_to_file
Description: Reference for Hex.Buffer.write_to_file

### Virtual Method

# Hex Bufferwrite_to_file

#### Declaration

    gboolean
    write_to_file (
      HexBuffer* self,
      GFile* file
    )

#### Description

Write the buffer to the `GFile` specified. This operation will block. For a non-blocking version, use `hex_buffer_write_to_file_async()`.

#### Parameters

`file`

  Type: `GFile`

  `GFile` to write to.

  The data is owned by the caller of the function.

#### Return value

Type: `gboolean`

`TRUE` if the operation was successful; `FALSE` otherwise.