utf_decodeWchar

Decode a UTF-16 sequence as a single UTF-32 code point.

nothrow pure @nogc
string
utf_decodeWchar
(
const(wchar)[] s
,
ref size_t ridx
,
out dchar rresult
)

Parameters

s const(wchar)[]

UTF-16 sequence

ridx size_t

starting index in s[], updated to reflect number of code units decoded

rresult dchar

set to character decoded

Return Value

Type: string

null on success, otherwise error message string

Meta