transcodeUtf

fnchar[] transcodeUtf(scope const wchar[] input, char[] buffer)

If it fits in the provided buffer, it will use it, otherwise, it will reallocate as-needed with the append operator.

Returns

the slice of buffer actually used, or the newly allocated array, if it was necessary.

History

Added November 14, 2025
fnchar[] transcodeUtf(scope const dchar[] input, char[] buffer)

ditto

fninout(char)[] transcodeUtf(inout(char)[] input)
No documentation available for this declaration.