FileReadMoreCallback


Description:

public delegate bool FileReadMoreCallback (string file_contents, int64 file_size)

When loading the partial contents of a file with load_partial_contents_async, it may become necessary to determine if any more data from the file should be loaded.

A FileReadMoreCallback function facilitates this by returning true if more data should be read, or false otherwise.

Parameters:

file_contents

the data as currently read.

file_size

the size of the data currently read.

callback_data

data passed to the callback.

Returns:

true if more data should be read back. false otherwise.


Namespace: GLib
Package: gio-2.0