toUTF32

fndstring toUTF32(S)(scope S s) if (isSomeFiniteCharInputRange!S)

Encodes the elements of s to UTF-32 and returns a newly GC allocated dstring of the elements.

Parameters

sthe range to encode

Returns

A UTF-32 string

See Also

For a lazy, non-allocating version of these functions, see byUTF.