encoding type for the specified block of text. ("best" in this particular case means smallest output size)
utilsBestEncoding
fn
gmime.types.ContentEncoding utilsBestEncoding(ubyte[] text)Determines the best content encoding for the first len bytes of text.
Parameters
text | text to encode |
Returns
a #GMimeContentEncoding that is determined to be the best