[ CCode ( instance_pos = 2.9 ) ]
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.
file_contents |
the data as currently read. |
file_size |
the size of the data currently read. |
user_data |
data passed to the callback. |
true if more data should be read back. false otherwise. |