Guesses the content type based on example data. If the function is
uncertain, result_uncertain will be set to true. Either filename
or data may be null, in which case the guess will be based solely
on the other argument.
Parameters
filename: string
a path, or null
data: Uint8Array<ArrayBufferLike>
a stream of data, or null
Returns [string,boolean]
a string indicating a guessed content type for the given data. Free with g_free()
Guesses the content type based on example data. If the function is uncertain,
result_uncertainwill be set totrue. Eitherfilenameordatamay benull, in which case the guess will be based solely on the other argument.