The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Projects
Module Owners
Blue Sky
New Layout
Mail/News
Ports
Other
Source Code
Getting It
Documentation
License Terms
Bugs
Search
Feedback
DevEdge Online


PUBLIC uint32 INTL_UnicodeToStrLen ( INTL_Encoding_ID encoding, INTL_Unicode* ustr, uint32 ustrlen )

Return memory requirement for INTL_UnicodeToStr

Documentation

Return memory requirement for INTL_UnicodeToStr. Returns the maximum memory required for text converted from a Unicode string to a specified encoding. Call this to prepare memory for INTL_UnicodeToStr.
Returns:
Number of bytes needed to store the converted result
Parameters:
encoding - Specifies the target encoding
ustr - Specifies the buffer containing UCS-2 data
ustrlen - Specifies the valid length of ustr in UCS-2 units not bytes
See Also:
INTL_UnicodeToStr

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++



Copyright © 1998 Netscape Communications Corporation.