utilsBestEncoding

Determines the best content encoding for the first len bytes of text.

utilsBestEncoding
(
ubyte[] text
)

Parameters

text ubyte[]

text to encode

Return Value

Type: gmime.types.ContentEncoding

a #GMimeContentEncoding that is determined to be the best encoding type for the specified block of text. ("best" in this particular case means smallest output size)