FilterBest


Description:

[ CCode ( has_construct_function = false , type = "GMimeFilter*" ) ]
public FilterBest (FilterBestFlags flags)

Creates a new GMimeFilterBest filter.

flags are used to determine which information to keep statistics of. If the CHARSET bit is set, the filter will be able to compute the best charset for encoding the stream of data filtered. If the ENCODING bit is set, the filter will be able to compute the best Content-Transfer-Encoding for use with the stream being filtered.

Note: In order for the get_charset function to work, the stream being filtered MUST already be encoded in UTF-8.

Parameters:

flags

filter flags

Returns:

a new best filter with flags flags.