Contents

TECClearConverterContextInfo

Resets a converter object to its initial state so youcan reuse it.

Declaration

OSStatus TECClearConverterContextInfo(TECObjectRef encodingConverter);

Parameters

Return Value

A resultcode. See Result Codes.

Discussion

It is more efficient to reuse an existing converter objectthan to create a new one that contains the same conversion information.This function clears the text string, but does not alter the sourceand destination encodings.

If you are converting multiple segments of a text string,you should not clear the converter object until you have convertedall the text segments.

See Also

Creating and Deleting Converter Objects