[#llvm-ConvertUTF16toUTF32] = xref:llvm.adoc[llvm]::ConvertUTF16toUTF32 :relfileprefix: ../ :mrdocs: Convert a UTF‐16 sequence to UTF‐32. == Synopsis Declared in `<llvm/Support/ConvertUTF.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/ConversionResult.adoc[ConversionResult] ConvertUTF16toUTF32( xref:llvm/UTF16.adoc[UTF16] const** sourceStart, xref:llvm/UTF16.adoc[UTF16] const* sourceEnd, xref:llvm/UTF32.adoc[UTF32]** targetStart, xref:llvm/UTF32.adoc[UTF32]* targetEnd, xref:llvm/ConversionFlags.adoc[ConversionFlags] flags); ---- == Return Value A `ConversionResult` indicating success or the failure reason. == Parameters [cols="1,4"] |=== | Name| Description | *sourceStart* [inout] | Pointer to the start of the UTF‐16 source; updated past the last converted code unit on return. | *sourceEnd* | Pointer just past the end of the source buffer. | *targetStart* [inout] | Pointer to the start of the UTF‐32 target; updated past the last written code unit on return. | *targetEnd* | Pointer just past the end of the target buffer. | *flags* | Whether conversion is strict or lenient. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#