gContentTypeGuess: gContentTypeGuess

Description Usage Arguments Value Author(s)

View source: R/gioFuncs.R

Description

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.

Usage

1

Arguments

filename

a string, or NULL

data

a stream of data, or NULL

Value

A list containing the following elements:

retval

[char] a string indicating a guessed content type for the given data.

result.uncertain

a flag indicating the certainty of the result

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.