IEncodingAPI interface