_d_arrayappendwd

Append dchar to wchar[], converting UTF-32 to UTF-16

void main()
{
    dchar x;
    wchar[] s;
    s ~= 'α';
}
extern (C)
void[]
_d_arrayappendwd
(
ref byte[] x
,
dchar c
)

Parameters

x byte[]

array to append to cast to byte[]. Will be modified.

c dchar

dchar to append

Return Value

Type: void[]

updated x cast to void[]

Meta