Method

HexDocumentread_async

Declaration

void
hex_document_read_async (
  HexDocument* doc,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Read the GFile into the buffer connected to the HexDocument object.

This method is mostly a wrapper around hex_buffer_read_async() but will allow additional steps and appropriate signals to be emitted applicable to the document object above and beyond the buffer, when the operation completes.

Parameters

cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

Function to be called when the operation is complete.

 The argument can be NULL.
user_data gpointer
  No description available.
 The argument can be NULL.
 The data is owned by the caller of the function.