get_best_encoding


Description:

public TransferEncoding get_best_encoding (BestencEncoding required)

Get the best encoding, given specific constraints, that can be used to encode a stream of bytes.

Parameters:

this

a MimeFilterBestenc object

required

maximum level of output encoding allowed.

Returns:

the best encoding to use