CodepointToUTF8 method
Encode one codepoint into UTF-8 byte array (array length returned as parameter)
Implementation
@override
NativeMemoryPointer<RChar> CodepointToUTF8(
int codepoint,
MemoryPointer<RInt> utf8Size,
) => _ffi.CodepointToUTF8(
codepoint,
utf8Size.asNativePointer(),
).asMemoryPointer();