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 _getGType() static nothrow
GType _gType() @property nothrow
FilterBest self() nothrowReturns `this`, for use in `with` statements.
FilterBestGidBuilder builder() static nothrowGet builder for [gmime.filter_best.FilterBest] Returns: New builder object
string charset() nothrowCalculates 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) nothrowCalculates 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 #GMIME_FILTER_BEST_CHARSET bit is set, the filter will be able to compute the best ...

Fluent builder for gmime.filter_best.FilterBest

Methods
FilterBest build() nothrowCreate object from builder. Returns: New object