ΒΆbool ConvertCodePointToUTF8(unsigned int Source,
char*& ResultPtr)
bool ConvertCodePointToUTF8(unsigned int Source,
char*& ResultPtr)
Description
Convert an Unicode code point to UTF8 sequence.
Declared at: llvm/include/llvm/Support/ConvertUTF.h:228
Parameters
- unsigned int Source
- a Unicode code point.
- char*& ResultPtr
- pointer to the output buffer, needs to be at least\c UNI_MAX_UTF8_BYTES_PER_CODE_POINT bytes. On success \c ResultPtr is updated one past end of the converted sequence.
Returns
true on success.