Main Page   Class Hierarchy   Compound List   File List   Header Files   Sources   Compound Members   File Members  

ucnv_cb.h File Reference

Character Conversion C API. More...


Functions

U_CAPI void U_EXPORT2 ucnv_cbFromUWriteBytes (UConverterFromUnicodeArgs *args, const char* source, int32_t length, int32_t offsetIndex, UErrorCode * err)
Used by the callback functions. More...

U_CAPI void U_EXPORT2 ucnv_cbFromUWriteSub (UConverterFromUnicodeArgs *args, int32_t offsetIndex, UErrorCode * err)
Used by the callback functions. More...

U_CAPI void U_EXPORT2 ucnv_cbFromUWriteUChars (UConverterFromUnicodeArgs *args, const UChar** source, const UChar* sourceLimit, int32_t offsetIndex, UErrorCode * err)
Used by the callback functions. More...

U_CAPI void U_EXPORT2 ucnv_cbToUWriteUChars (UConverterToUnicodeArgs *args, const UChar* source, int32_t length, int32_t offsetIndex, UErrorCode * err)
Used by the callback functions. More...

U_CAPI void U_EXPORT2 ucnv_cbToUWriteSub (UConverterToUnicodeArgs *args, int32_t offsetIndex, UErrorCode * err)
Used by the callback functions. More...


Detailed Description

Character Conversion C API.

Definition in file ucnv_cb.h.


Function Documentation

U_CAPI void U_EXPORT2 ucnv_cbFromUWriteBytes (UConverterFromUnicodeArgs * args, const char * source, int32_t length, int32_t offsetIndex, UErrorCode * err)

Used by the callback functions.

This function will write out the error character(s) to the target byte buffer.

Parameters:
args   : callback fromUnicode arguments
target   : output target buffer of the callback result.
length   : the length of target buffer
offsetIndex   : the relative offset index from callback.
err   error status U_BUFFER_OVERFLOW
See also:
ucnv_cbFromUWriteSub()
Draft:

U_CAPI void U_EXPORT2 ucnv_cbFromUWriteSub (UConverterFromUnicodeArgs * args, int32_t offsetIndex, UErrorCode * err)

Used by the callback functions.

This function will write out the error character(s) to the substitution character.

Parameters:
args   : callback fromUnicode arguments
target   : output target buffer of the callback result.
length   : the length of target buffer
offsetIndex   : the relative offset index from callback.
err   error status U_BUFFER_OVERFLOW
See also:
ucnv_cbFromUWriteBytes()
Draft:

U_CAPI void U_EXPORT2 ucnv_cbFromUWriteUChars (UConverterFromUnicodeArgs * args, const UChar ** source, const UChar * sourceLimit, int32_t offsetIndex, UErrorCode * err)

Used by the callback functions.

This function will write out the error character(s) to the target UChar buffer.

Parameters:
args   : callback fromUnicode arguments
source   : pointer to pointer to first UChar to write [on exit: 1 after last UChar processed]
sourceLimit   : pointer after last UChar to write
offsetIndex   : the relative offset index from callback.
err   error status U_BUFFER_OVERFLOW
See also:
ucnv_cbToUWriteSub()
Draft:

U_CAPI void U_EXPORT2 ucnv_cbToUWriteUChars (UConverterToUnicodeArgs * args, const UChar * source, int32_t length, int32_t offsetIndex, UErrorCode * err)

Used by the callback functions.

This function will write out the error character(s) to the target UChar buffer.

Parameters:
args   : callback toUnicode arguments
target   : output target buffer of the callback result.
length   : the length of target buffer
offsetIndex   : the relative offset index from callback.
err   error status U_BUFFER_OVERFLOW
See also:
ucnv_cbToUWriteSub()
Draft:

U_CAPI void U_EXPORT2 ucnv_cbToUWriteSub (UConverterToUnicodeArgs * args, int32_t offsetIndex, UErrorCode * err)

Used by the callback functions.

This function will write out the error character(s) to the substitution character.

Parameters:
args   : callback fromUnicode arguments
offsetIndex   : the relative offset index from callback.
err   error status U_BUFFER_OVERFLOW
See also:
ucnv_cbToUWriteUChars()
Draft:

Generated at Wed Aug 16 16:05:29 2000 for ICU1.6 by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999