_d_arrayappendcd

Append dchar to char[], converting UTF-32 to UTF-8

void main()
{
    char[] s;
    s ~= 'α';
}
extern (C)
void[]
_d_arrayappendcd
(
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