Part.getBestContentEncoding

gmime.types.ContentEncoding getBestContentEncoding(gmime.types.EncodingConstraint constraint) nothrow

Calculates the most efficient content encoding for the mime_part given the constraint.

Parameters

constrainta #GMimeEncodingConstraint

Returns

the best content encoding for the specified mime part.