toString
- const(char)[] toString(const(char)[] src, char[] dst, size_t* ate)
- const(wchar)[] toString(const(wchar)[] src, wchar[] dst, size_t* ate)
- const(dchar)[] toString(const(dchar)[] src, dchar[] dst, size_t* ate)
- void toString(const(char)[] input, size_t delegate(cstring) dg)
- void toString(const(wchar)[] input, size_t delegate(cstring) dg)
- void toString(const(dchar)[] input, size_t delegate(cstring) dg)
- mstring toString(const(wchar)[] input, mstring output, size_t* ate)
- mstring toString(const(dchar)[] input, mstring output, size_t* ate)
Parameters
- input const(dchar)[]
- dg size_t delegate
Encode a string of characters into an UTF-8 string, providing one character at a time to the delegate.
This allow to shift the allocation strategy on the user, which might have more information about the kind of data passed to this function.