gmime.filter_best

Module for [FilterBest] class

Types 3

A filter for calculating the best encoding and/or charset to encode the data passed through it.

Methods
GType _gType() @property
FilterBest self()Returns `this`, for use in `with` statements.
FilterBestGidBuilder builder()Get builder for [gmime.filter_best.FilterBest] Returns: New builder object
string charset()Calculates the best charset for encoding the content filtered through the best filter. Returns: the name of the charset most suitable for encoding the content that has been passed through the filte...
gmime.types.ContentEncoding encoding(gmime.types.EncodingConstraint constraint)Calculates the most efficient Content-Transfer-Encoding for the content filtered through best that fits within the encoding constraint.
Constructors
this(void * ptr, Flag!"Take" take)
this(gmime.types.FilterBestFlags flags)Creates a new GMimeFilterBest filter. flags are used to determine which information to keep statistics of. If the #GMIMEFILTERBESTCHARSET bit is set, the filter will be able to compute the best cha...

Fluent builder for [gmime.filter_best.FilterBest]

Methods