FileReadMoreCallback
typealias FileReadMoreCallback = (fileContents: String, <Error class: unknown class>, <Error class: unknown class>?) -> Boolean
When loading the partial contents of a file with g_file_load_partial_contents_async(), it may become necessary to determine if any more data from the file should be loaded. A #GFileReadMoreCallback function facilitates this by returning true if more data should be read, or false otherwise.
param
fileContents
the data as currently read.param
fileSize
the size of the data currently read.param
callbackData
data passed to the callback.return true if more data should be read back. false otherwise.