23 #ifndef __ccxx_UTF8Encoder_hxx 24 #define __ccxx_UTF8Encoder_hxx 65 int encode(
const char16_t** input,
int* inputCountLeft,
66 char** output,
int* outputCountLeft);
77 static int encodedLength(
const char16_t* input,
int length,
103 int outputChar(uint32_t char32,
char** buf,
int* length);
112 #endif // __ccxx_UTF8Encoder_hxx static const int STATUS_INVALID_INPUT
A status indicating that transcoding cannot continue because invalid data was encountered in the inpu...
Definition: UTF8Encoder.h++:99
static const int STATUS_OK
A status indicating that all input has been successfully transcoded.
Definition: UTF8Encoder.h++:81
static const int STATUS_OUTPUT_BUFFER_FULL
A status indicating that there is not enough room in the output buffer to finish transcoding the inpu...
Definition: UTF8Encoder.h++:93
static const int STATUS_NEED_MORE_INPUT
A status indicating that more input must be supplied to complete the transcoding. ...
Definition: UTF8Encoder.h++:87
#define COMMONCPP_API
Definition: Common.h++:126
A UTF-16 to UTF-8 string transcoder.
Definition: UTF8Encoder.h++:38
uint16_t char16_t
A UTF-16 character.
Definition: Common.h++:201
#define CCXX_COPY_DECLS(CLASS)
Inlines declarations of a copy constructor and assignment operator for the class CLASS.
Definition: Common.h++:295
Definition: AllocationMap.c++:25