ailiaTokenizerUtf32ToUtf8 method

int ailiaTokenizerUtf32ToUtf8(
  1. Pointer<Char> utf8,
  2. Pointer<UnsignedInt> processed_byte,
  3. int utf32
)

Convert UTF32 character to UTF8 character.

Parameters:

  • utf8: UTF8 character(Require greater than 4byte)
  • processed_byte: Processed bytes on UTF8
  • utf32: UTF32 character

Returns:

If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaTokenizerUtf32ToUtf8(
  ffi.Pointer<ffi.Char> utf8,
  ffi.Pointer<ffi.UnsignedInt> processed_byte,
  int utf32,
) {
  return _ailiaTokenizerUtf32ToUtf8(
    utf8,
    processed_byte,
    utf32,
  );
}