toUTF16

Converts the given string to a UTF-16 string.

This will always create a copy.

@nogc ref
toUTF16
(
FromT
)
(
auto ref FromT from
,
bool addBOM = false
)

Meta