![]() |
TECClearSnifferContextInfo |
||||
Header: | TextEncodingConverter.h | Carbon status: | Supported | |
Resets a sniffer object to its initial settings so you can reuse it.
OSStatus TECClearSnifferContextInfo ( TECSnifferObjectRef encodingSniffer );
A pointer to the sniffer object you want to reset.
A result code.
Sniffers maintain state information about the input encoding buffer and the number of errors and features found for each encoding; this information allows a caller to progressively sniff an input buffer in sequential chunks. Before sniffing a buffer that contains completely new information you must clear any state information by calling TECClearSnifferContextInfo.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)