Method

HexBufferread_async

Declaration

void
hex_buffer_read_async (
  HexBuffer* buf,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Read the GFile, previously set, into the buffer. This is the non-blocking version of hex_buffer_read().

This method completes asynchronously. Use hex_buffer_read_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

cancellable

Type: GCancellable

A GCancellable.

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

Type: GAsyncReadyCallback

Function to be called when the operation is complete.

The argument can be NULL.
user_data

Type: gpointer

No description available.

The argument can be NULL.
The data is owned by the caller of the method.