TECClearConverterContextInfo
Resets a converter object to its initial state so youcan reuse it.
Declaration
OSStatus TECClearConverterContextInfo(TECObjectRef encodingConverter);Parameters
- encodingConverter:
A reference to the text encoding converter object you want to reset. It can be a reference returned by the 1571815 Teccreateconverter, 1571794 Teccreateonetomanyconverter, or 1571829 Teccreateconverterfrompath functions.
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.