Creates a new GMimeFilterBest filter. flags are used to determine which information to keep statistics of. If the #GMIME_FILTER_BEST_CHARSET bit is set, the filter will be able to compute the best charset for encoding the stream of data filtered. If the #GMIME_FILTER_BEST_ENCODING bit is set, the filter will be able to compute the best Content-Transfer-Encoding for use with the stream being filtered.
Calculates the best charset for encoding the content filtered through the best filter.
Calculates the most efficient Content-Transfer-Encoding for the content filtered through best that fits within the encoding constraint.
Returns this, for use in with statements.
Get builder for gmime.filter_best.FilterBest
Returns this, for use in with statements.
Get builder for gmime.filter.Filter
Sets number of bytes backed up on the input, new calls replace previous ones
Completes the filtering.
Copies filter into a new #GMimeFilter object.
Filters the input data and writes it to out.
Resets the filter.
Ensure this much size is available for filter output (if required)
A filter for calculating the best encoding and/or charset to encode the data passed through it.